문제

i have a database with some names and addresses, zip codes, etc

i am looking for a way to display names close to a zipcode.

something like based on my zip code to show the people with in my proximity

i am looking for an script idea...

i know google has something but it charges after 50.000 entries

thanks

도움이 되었습니까?

해결책

Here is how you do it.

Download the zipcode database with latitutde/longitude here.

Do a query in mysql to get users close to x miles.

Luckily, someone has already written a library to do all this for you.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top