phrozenflame Posted December 31, 2006 Share Posted December 31, 2006 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! Link to comment https://forums.phpfreaks.com/topic/32376-solved-zip-coad-locator/ Share on other sites More sharing options...
AndyB Posted December 31, 2006 Share Posted December 31, 2006 [quote author=phrozenflame link=topic=120482.msg494172#msg494172 date=1167570478]How would I go about making something like this?[/quote]Start with a lot of reading ... you'll need a database with the latitude/longitude of each zip code (happy Googling for that), and then the lat/long for each 'store', and then a bit of Pythagorean math. Link to comment https://forums.phpfreaks.com/topic/32376-solved-zip-coad-locator/#findComment-150344 Share on other sites More sharing options...
phrozenflame Posted December 31, 2006 Author Share Posted December 31, 2006 Thanks Andy ;D Link to comment https://forums.phpfreaks.com/topic/32376-solved-zip-coad-locator/#findComment-150346 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.