ShadowIce Posted January 18, 2010 Share Posted January 18, 2010 Does anyone know where I can get a FREE, FULL PHP dropdown code that displays ALL countries AND their states AFTER selecting a country? Thanks! Link to comment https://forums.phpfreaks.com/topic/188916-php-full-list-of-countries-and-states-dropdown/ Share on other sites More sharing options...
Graxeon Posted January 18, 2010 Share Posted January 18, 2010 Not sure about a PHP drop drown...but I know there are JavaScript ones. Here's the first one I found on Google: http://javascript.internet.com/forms/country-state-drop-down.html Link to comment https://forums.phpfreaks.com/topic/188916-php-full-list-of-countries-and-states-dropdown/#findComment-997496 Share on other sites More sharing options...
ShadowIce Posted January 18, 2010 Author Share Posted January 18, 2010 I tried that one. It has a glitch. :S It shows either undefined or a blank option at the bottom of the drop down list when I try to use it :S Link to comment https://forums.phpfreaks.com/topic/188916-php-full-list-of-countries-and-states-dropdown/#findComment-997498 Share on other sites More sharing options...
p2grace Posted January 18, 2010 Share Posted January 18, 2010 This wouldn't be difficult to build quick. Just go find a csv or a table of countries, and one of states. Import them into a mysql database. Then write a quick php class that generates the select boxes. Link to comment https://forums.phpfreaks.com/topic/188916-php-full-list-of-countries-and-states-dropdown/#findComment-997503 Share on other sites More sharing options...
ShadowIce Posted January 18, 2010 Author Share Posted January 18, 2010 Nvm.... -.- I found one, I was just seeing if you guys had found a better one than I just found.. Link to comment https://forums.phpfreaks.com/topic/188916-php-full-list-of-countries-and-states-dropdown/#findComment-997518 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.