I have database consists of countries and cities.
First Case - Successfully done:
- Country list gets populated in drop box on page load
- City list gets populated in drop box on page load - populated city list is based on the default country.
Second Case - Couldn't make it:
- User changes country
- City list will be changed according to selected country
I know i have to use jQuery/Ajax. I tried but i couldn't solve my problem due to my lack of programming experience. My list is fetched from database not XML. I just need a quick solution, i need to keep it simple and stupid.
I'm using regular PHP coding style, not Object-Oriented.
How can i do it? Any related resources will be appreciated.
in your getCity.php