get state and county a city belongs to with geonames database?

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-03-20T04:41:16Z Indexed on 2010/03/20 4:41 UTC
Read the original article Hit count: 371

Filed under:
|
|

i have downloaded whole database from geonames.com and imported all countries into mysql.

i wonder how i can get the continent, country, state, county when i got a city's id?

cause i want to make a cascading list menu with these information.

thanks!

© Stack Overflow or respective owner

Related posts about geonames

Related posts about mysql