I have a checkbox in my form and want to see the changes to it in next page but the problem is if I un-check a checkbox then the $_POST variable will not include it in next page so I won't be able to the changes.

Any idea for a workround.


Member Avatar

You're checking the input against something to see if it's changed right?
So what is it?

Problem solved.

I first store initial state of chekcboxes in a session then compare the changes done in form against the session in next page.