I have tried all I know, but can’t seem to figure out how to re-display a selected option value from an option list once I have returned to the form from a validation script. All other text fields in the form are retaining their values through the use of SESSION variables which have been populated from the POST variables submitted by the form. However, the drop down list for the state portion of the user’s address reverts to an unselected value.
My code looks like this:
I have been database programming for several years, but this is my first attempt at PHP so any suggestions or comments will be most welcome.