fekade Posted April 13, 2015 Share Posted April 13, 2015 Hello, I have created two tables "category" and "subcategory". So what i need to do is that i have organized two combobox and one will retrieve values from category table and populate the data. However, i need to fill the other combobox when one selected from the category combobox and populate all the values from subcategory table. I really thank you all for helping me out. Looking for great answer. Thank you in advance. Fekade Link to comment https://forums.phpfreaks.com/topic/295507-php-combobox/ Share on other sites More sharing options...
cyberRobot Posted April 13, 2015 Share Posted April 13, 2015 Do you want the second combobox to be populated as soon as something is selected in the first combobox? If so, you'll need to utilize a client-side language like JavaScript. Perhaps you can find something useful here: https://www.google.com/search?q=javascript%20populate%20dropdown%20based%20on%20another%20dropdown&rct=j Link to comment https://forums.phpfreaks.com/topic/295507-php-combobox/#findComment-1508913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.