Night_Tripperz Posted January 23, 2007 Share Posted January 23, 2007 Many websites I have something like a store locator where you enter a zipcode and it gives nearby stores up to 20 or 30 miles from your zip code. How would I go about making something like this?Thanks! Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 23, 2007 Share Posted January 23, 2007 You'd need a zip code database, and then some functions to calculate the distance.Here is the database I use:http://www.micahcarrick.com/v2/content/view/4/22/It looks like they have added a class for working with the distances too, so that should help. Quote Link to comment Share on other sites More sharing options...
phpfreak Posted January 24, 2007 Share Posted January 24, 2007 [quote author=jesirose link=topic=123730.msg511863#msg511863 date=1169595078]You'd need a zip code database, and then some functions to calculate the distance.Here is the database I use:http://www.micahcarrick.com/v2/content/view/4/22/It looks like they have added a class for working with the distances too, so that should help.[/quote]Hey, that's a nice class. Nice find there! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.