View Single Post
Old 10-09-2006, 07:51 PM   #1 (permalink)
metalgeek
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
metalgeek is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73