Hey guys,
I've currently got a php script that selects data from a database and then populates two dropdown boxes. What I would like to do is use the options from the first dropdown box to filter whats available in the second dropdown box.
For instance, if in the first box I select Hats, I want the second box to display different colours hat, such as Black Hat.
I'm not sure how I would do this, so any pointers will be a great help.
I've currently got a php script that selects data from a database and then populates two dropdown boxes. What I would like to do is use the options from the first dropdown box to filter whats available in the second dropdown box.
For instance, if in the first box I select Hats, I want the second box to display different colours hat, such as Black Hat.
I'm not sure how I would do this, so any pointers will be a great help.