Click here to Skip to main content
15,886,075 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Database structure:
-MassWarVetsADM (database name)
-Business (business table)
-BName | Primary Key
-Category

-Category (category table)
-Category | Foreign key referencing parent Business:Category


Using php & javascript only, can someone assist me in populating 2 select boxes with the following stipulations?

First a user will select a business category (Category:Category) from a select box on my homepage, that will have the categories loaded from the (Category:Category) table/column upon loading the homepage.

Then a second select box will populate after a category selection is made, all of the Business names(Bname) that share that category. Your help is greatly appreciated!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900