Responsive country,state,city dropdown using PHP

I got many request to Responsive country,state,city dropdown values from the database without refresh page using Ajax and PHP. In this article, I’ve put three drop down of country,state,city, drop downs without refreshing the page.

All the country, state, city data and their licensing is free to use so you can use this data for any commercial or non commercial applications.


Include JS files

DbConnection.php Page

SearchRegion.php Page

SearchCity.php Page

Live Demo           Download

This code will full fill all your needs, if you are looking for list of countries states and cities in the world, country state city dropdown list, list of all countries states and cities in the world, country city state database, country state city database free download, list of all countries with states and cities, database of countries, database of countries states and cities, country state city database.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , , , , , , , ,