No, you want to update the values that the user updated, not the ones that differ from the DB. As a general principle, if a value changes in the DB after the page was loaded and before the form was submitted, then you should preserve the value in the DB, not clobber somebody else's update with this user's non-update. That generally leads to fewer problems and surprises.
- tye
In reply to Re^2: How to get only changed parameter names from CGI script on form submit? (clobber)
by tye
in thread [Solved]: How to get only changed parameter names from CGI script on form submit?
by Perl300
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |