By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,240 Members | 791 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,240 IT Pros & Developers. It's quick & easy.

To populate a drop down menu by the option chosen in other

P: 1
i need a help regarding populating a drop down menu from the values in an database when a particular option is chosen in the previous menu.
let there be two menus one list the type of employee for example salesman, manager, supervisor and others ..
i want to build two drop down menus . one containing the type of employee and the other their names . so in menu with names , the names should only appear when some employee type has been selected and only those name which are under such category.
please help i am very new to php and i am unable to write a code..
May 31 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,584
Please tell do you have the table structure for this.
Table >> JobTitles
Table >> Employees
With the correct relationship with the tables.

Here is a simple example to start over.
May 31 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.