norbert_ds Posted May 27, 2012 Share Posted May 27, 2012 I have been looking for a solution to pull data from a mySQL database and populate multiple dropdown lists. I have a manually poplulated dropdown lists of Australian states and based on the selection I need to populate a dropdown list of postcodes based on the state selection and then based on the selection of postcodes I need to populate a list of suburbs for that postcode. I have the mysql database. When I was searching for a solution Ajax keeps popping up but no real documentation/tutorial on how this could be achieved. If anyone could direct me to some tutorial on doing something similar would be sincerely appreciated. Regards Norbert Quote Link to comment https://forums.phpfreaks.com/topic/263236-dynamic-population-of-dropdown-lists/ Share on other sites More sharing options...
PravinS Posted May 28, 2012 Share Posted May 28, 2012 Refer the URL, may this will help you http://www.phpclasses.org/package/5988-PHP-Retrieve-MySQL-query-results-into-arrays.html Quote Link to comment https://forums.phpfreaks.com/topic/263236-dynamic-population-of-dropdown-lists/#findComment-1349113 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.