10-09-2006, 07:51 PM | #1 (permalink) |
Insane
Location: Calgary
|
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 |
10-09-2006, 10:01 PM | #2 (permalink) |
Free Mars!
Location: I dunno, there's white people around me saying "eh" all the time
|
There's lots of ways of doing this, please specify which language you want to use. For Java, look up servlets.
__________________
Looking out the window, that's an act of war. Staring at my shoes, that's an act of war. Committing an act of war? Oh you better believe that's an act of war |
Tags |
dynamic, menus, mysql, pull |
|
|