Web server, Reset button. Can someone check my code please!

Arrch:

Rich196:
it does not work any more

Sorry, that is not a proper way of describing a problem.

My main program works. I have also written a test program, for the web button to reset the variable, and it works fine. However when I put the code into the main program it will not work, but it has not broken anything in my main program either. I have put in all the test variables, into the main program.

The variable I am resetting is caller “counter” it is initialized to have a value of 5 on boot up and then the button should reset it to 0.

When I say it does not work. Everything displays on the web server as it should, however when you click the reset button the variable “counter” does not get set to 0.