I have a drop box in a PHP form script that has error checking in it. The user fills out the form, and if there is an error in the form, the user fixes the error, the script is re-run, but I can't seem to "hold" the value of the state drop-down. It defaults back to "Select One". How do I hold the last entered state dropdown selection?
Thanks,
Sam
State
<SELECT NAME="state" value="<?php echo $state; ?>">
<option value="">Select One</option>
<option value="AL">Alabama(AL)</option>
<option value="AK">Alaska(AK)</option>
<option value="AZ">Arizona(AZ)</option>
.... etc, etc
Thanks,
Sam
State
<SELECT NAME="state" value="<?php echo $state; ?>">
<option value="">Select One</option>
<option value="AL">Alabama(AL)</option>
<option value="AK">Alaska(AK)</option>
<option value="AZ">Arizona(AZ)</option>
.... etc, etc