php/mySQL and html <select>

From: Date: Sun, 06 May 2001 19:20:25 +0000
Subject: php/mySQL and html <select>
Groups: php.db 
Request: Send a blank email to php-db+get-9136@lists.php.net to get a copy of this message
hi... I have a user registration system that I need to add a "state" field to. Part of the form will look something like this but with all 50 states instead of just two: <form> <select name="state"> <option value="AK">AK</option> <option value="AL">AL</option> </select> </form> ...how do I insert the user's state into the database and then how do I show the user's state as the "selected" state in the drop down list later when the user comes back to update his/her profile? hope this makes sense.. thanks, nick __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/

« previous php.db (#9136) next »