SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2005
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Country/State/City Lookup

    Hi there,

    Does anyone know of any php/ajax "widgets" that populate a province/state drop-down based on the country picked, and populate the city list based on the province/state picked? The main issue that I'm having is getting the tables populated. I'm sure this must have been done hundreds of times. I just can't find anything!

    Thanks

  2. #2
    Trash Boat mkoenig's Avatar
    Join Date
    Aug 2007
    Posts
    1,232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im not sure of a widget, but here is a zip code database.

    http://www.zipcodeguy.com/blog/free-zip-code-database/

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2005
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's pretty close... but I've already got the JS built out. I'd like to have the entire solution if I can get it. Otherwise I may as well just build it. Thanks Mkoeniq for responding so fast!

  4. #4
    Trash Boat mkoenig's Avatar
    Join Date
    Aug 2007
    Posts
    1,232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Welcome man. That zip code db is free if you write an article about them. Otherwise its $20 or so. I was thinking about getting it later myself for testing purposes.

  5. #5
    SitePoint Member
    Join Date
    Apr 2009
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can google for GeoDataSource World Major Cities. It includes the data as well as the dropdown list source codes.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •