开发者

php how to display friends based on zipcode?

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

i am looking for a way to display names clos开发者_Go百科e 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜