Responsive country,state,city dropdown using PHP

| Last Updated: | In: Core php, Freebies, Javascript & Ajax, Mysql

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

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 drop down 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.

Tags: , , , , , , , , , , , ,

About: Prem Tiwari

Prem Tiwari is founder of and Software developer from New Delhi (India). Follow Prem's development codes on facebook, and make sure you check out for the latest in web development related Tips with the complete code.

You may also like:

Follow us!

Get Free Access of 350+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Learn how to implement security guideline in your WordPress site...


Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...