Ricky. Posted June 23, 2012 Share Posted June 23, 2012 Hi, I am wondering where you get Country / State / City list so that you can build Ajax based drop down menu during registration or asking for address.. I am sure there must be some list being maintained.. be it xml based or db based.. or we need to compile it manually .. one by one ? Link to comment https://forums.phpfreaks.com/topic/264648-city-state-list-for-dropdown/ Share on other sites More sharing options...
cpd Posted June 23, 2012 Share Posted June 23, 2012 In many cases the list isn't maintained and someone with in the organisation has built it. In the UK you can tap into the postal services addressing which is all maintained but at a cost and I would imagine its the same for other countries as well. Link to comment https://forums.phpfreaks.com/topic/264648-city-state-list-for-dropdown/#findComment-1356352 Share on other sites More sharing options...
litebearer Posted June 23, 2012 Share Posted June 23, 2012 Take a look here http://www.maxmind.com/app/postalcode Link to comment https://forums.phpfreaks.com/topic/264648-city-state-list-for-dropdown/#findComment-1356357 Share on other sites More sharing options...
Ricky. Posted July 10, 2012 Author Share Posted July 10, 2012 Have been searching around and there are few but most of them comes with country and city only, no state / region in it, like http://www.geonames.org/export/ , its a comprehensive but no state wise division and its very big too. Link to comment https://forums.phpfreaks.com/topic/264648-city-state-list-for-dropdown/#findComment-1360470 Share on other sites More sharing options...
The Little Guy Posted July 12, 2012 Share Posted July 12, 2012 here is a mysql database: http://www.populardata.com/downloads.html after you import that, you can use it to search. Link to comment https://forums.phpfreaks.com/topic/264648-city-state-list-for-dropdown/#findComment-1360983 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.