Zip Code to City/State and vice-versa in a database?

后端 未结 11 848
无人共我
无人共我 2020-12-28 11:20

I\'m new to SQL and relational databases and I have what I would imagine is a common problem.

I\'m making a website and when each user submits a post they have to pr

11条回答
  •  天涯浪人
    2020-12-28 11:39

    There are many free geo-coding webservices where you can get a zip from a city-state, and vice-versa. Take a look at the GeoNames webservice. You could do something like check your db, and then if what you are looking for is not there, grab it from the webservice and add it.

提交回复
热议问题