0
I am trying to make something but now I am stuck at this moment...
Every time I set the button I want it to perform and save the value but what it is doing is performing the task with initial value but not implementing the value to the variables.......this code works fine in pc so hope you guys would help me by doing this on pc.... https://code.sololearn.com/w1g7Tloe7f6t/?ref=app
1 Answer
+ 5
You can use session variable to store those values, when there's nothing stored in session, create the session variables, when it is already set in session, retrieve back the value, so your values become persistent.
Another feasible way would be to use hidden input elements, each these element is used to store previous value of a variable, you use echo to output these elements dynamically into HTML body along with their values.
Hth, cmiiw