It is necessary that every 12 hours from a certain time variable be increased by 1
I have a timer that at the end displays a message (a variable from a text file using php into an array), I want to do so that it is not necessary to constantly rewrite the string into a text document, and that at the end of the timer, a new variable is output each time (hence the other line from txt).
To do this, I want to make a php loop every 12 hours add variable 1 and the next element from the text document will be displayed.