I am using a MySQL database that contains a category and a sub-category table.
What I need it to do, is dynamically create the first dropdown menu (category), and then when someone chooses a category like computers, the second select box is populated with the results of the sub-category which are related to the category computers. Which means that in the second select box would show sofware, hardware, monitors, etc.
One of my concerns is that this database will end up being really large and I need to keep the loading time to a minimum.
I also want to avoid refreshing the page if possible,I'm thinking Javascript?
Thanks !
Demian
What I need it to do, is dynamically create the first dropdown menu (category), and then when someone chooses a category like computers, the second select box is populated with the results of the sub-category which are related to the category computers. Which means that in the second select box would show sofware, hardware, monitors, etc.
One of my concerns is that this database will end up being really large and I need to keep the loading time to a minimum.
I also want to avoid refreshing the page if possible,I'm thinking Javascript?
Thanks !
Demian