Jacques wrote:
I am using PHP. I have a registration page where the user has to select his
country form a drop down list. If the username that the user selected for
himself exists in the database I am sending him back to the registration
form with all the fields completed with the values he previously entered.
This is easy to do for a textfield but how do I indicate on the drop down
list which country he originally selected?
Set the attribute selected on the country, ie :
<option value="12" selected="selected">United States</option>
This is really a HTML question, not PHP related.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php