Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   Dynamic pull down menus from MySQL (https://thetfp.com/tfp/tilted-technology/109391-dynamic-pull-down-menus-mysql.html)

metalgeek 10-09-2006 07:51 PM

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

feelgood 10-09-2006 10:01 PM

There's lots of ways of doing this, please specify which language you want to use. For Java, look up servlets.

ratbastid 10-10-2006 05:44 AM

You could do this in PHP with CSS menus. Wouldn't be all that hard.


All times are GMT -8. The time now is 10:41 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


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