Dynamic pull down menus from MySQL
I'm trying to create a form where a user selects something from a pull down menu on a web page. This data will change over time, and is currently stored in a MySQL table.
I haven't been able to find a good explanation on how to do this exactly, and am wondering if anyone else has attempted this?
so say I had three values in the db right now: apple, orange, banana
so right now, the pull down menu would have apple, orange and banana in it.
if I added a row to my db that had say, grape in it, I'd want the pulldown menu to automagically have apple, orange, banana, and grape in it
__________________
The truth is, wherever you choose to be, it's the wrong place.
Chuck Palahniuk , Diary
|