0
Easiest way to store a value in an external file?
I need a number, for a game, that decrements every time a function is called. so that any time that function is ever called, by clicking a link and running code.php, that variable is written and then decremented the next time the link is clicked. help?
2 Answers
0
Make a static variable and put the decrement on the constructor of the object/function, this way every time the variable has decrement. U can't put this in a db or a text file
0
$_POST['You_Value']