Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 4.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-16-2009, 06:37 PM   PM User | #1
Sylvester21
New Coder

 
Join Date: Mar 2007
Location: The Netherlands
Posts: 91
Thanks: 21
Thanked 0 Times in 0 Posts
Sylvester21 is an unknown quantity at this point
PHP -> MySQL -> Using Javascript to make Select Menus

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?
__________________
Thank you for your time to read my post
Sylvester21 is offline   Reply With Quote
Old 05-16-2009, 07:12 PM   PM User | #2
mapleleaf
New Coder

 
Join Date: May 2009
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
mapleleaf is an unknown quantity at this point
Sounds more like a php question.
Should be easy enough to create a menu dynamically.
Which part are you having trouble with?
mapleleaf is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript, menu, mysql, php, select

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:20 AM.


Advertisement
Log in to turn off these ads.