Thanks, that did the trick.
What I'm trying to do is determine whether to update a DB table based upon the form data. For example, on form 1, the user can edit any data he/she wishes to, e.g. a phone number or zip code. On form 2 (which updates the table) it compares the original data to the new data it receives (via the $_POST array).
To preserve the original data to compare the new data to, as I am loading form 1, I also populate session variables which will be used on form 2 for the data comparision. If nothing has changed (meaning the user clicked the update button without actually changing anything) then the table is not updated. If the data has changed, I also time stamp a date field in the table to track the date of the change.
This may not, however, be the best way to do things in terms of preserving the original values. Nor can I loop thru $SESSION like I can $POST, since I am using other session vars on other forms. If you or anybody has a better method I am all ears.
Note: I have thought about using some javascript to hide the update button on form 1 until a field is actually changed. But I don't want the hassle of having to handle a user who has JS turned off.