How do I prevent variable incrementation after the user reloads a page in PHP?

  • Thread starter Thread starter mark
  • Start date Start date
M

mark

Guest
Hello, I am creating a program that has 3 integer variables. I set them to 0. But the next line of code is going to increment them. But, I don't want that to happen after the page refreshes. But, this program needs to refresh with the set time of 5 seconds. When this does, the variables reset themselves back to 0, obviously. But, I want to prevent this, so the variables stay the same after incrementation.
 
Back
Top