Forums

PHP

This topic is locked

dynamic drop down menus dependant upon previous menu choices

Posted 25 Feb 2009 15:23:41
1
has voted
25 Feb 2009 15:23:41 travis oftedal posted:
hello. i am new to the php/mysql game, but i am doing well on my first project!

anyway... i have two drop down menus on the same page. the first menu (menu1) will contain values that will dynamically change the values in the next drop down menu (menu2).

in addition, i also need menu1 to pass a seperate value on to a different table in the same database.

my idea is to have the choice on menu1selected by the visitor to automatically 'submit' its value to a php script that then populates a table (table1) with the correct data to be referenced dynamically by menu2.

hopefully this will provide the dynamic info to menu2.

then, when all choices on the page have been chosen, menu1 needs to 'submit' , along with the other form items on the page, a different value to a different table (table2).

i am not sure if i making sense. i have believe this can be done, but i have no idea on how to even begin with the syntax. any help would be appreciated.

thanks in advance!

travisco

Replies

Replied 02 Mar 2009 10:08:29
02 Mar 2009 10:08:29 Alan C replied:
javascript.about.com/library/bldydrop1.htm

google is your friend for this kind of stuff too

Reply to this topic