View Full Version : PHP -> MySQL -> Using Javascript to make Select Menus

05-16-2009, 07:37 PM
Hey guys,

Simple question, when I retrieve data from my MySQL database, for example the 'id' is 4, I wish to have 12 select menus displayed, ofcourse all with a different name, like so:


I just need four, but with two small ones behind them. Basically it means, the first select menu is for a name, the second for "apples" and the third for "bananas".

In other words, when the database says "4", I need to enter four names, and how many apples and bananas they collected.

Anyone can help me with this?

05-16-2009, 08:12 PM
Sounds more like a php question.
Should be easy enough to create a menu dynamically.
Which part are you having trouble with?