Why not ask the database about the current state and then build the UPDATE actions as necessary on form submission?
Alternatively, send the user two variables for each checkbox, one indicating the old state and one indicating the new state. If the two differ, do the update.
In reply to Re: How to get only changed parameter names from CGI script on form submit?
by Corion
in thread [Solved]: How to get only changed parameter names from CGI script on form submit?
by Perl300
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |