Page 1 of 1

Zip code radius database needed

Posted: Tue Jun 29, 2010 9:55 am
by minos_mks
i am doing a search function and one of the criteria of the search is the zip code and the user suppose to choose how many radius for the zip code he entered ( something like www.cars.com) , i think i need a zip code database and have one table contain zip code,the other zip code, the distance between both of them , if somebody did that before or he have this table please help me on that , thanx a lot

Re: Zip code radius database needed

Posted: Wed Jun 30, 2010 10:14 am
by Jade
The distance between zip codes is a calculation, not something that's generally stored in a table. All you would need to store is the zip codes: http://stackoverflow.com/questions/4079 ... des-in-php

Re: Zip code radius database needed

Posted: Wed Jun 30, 2010 1:34 pm
by princeofvegas
Take a look at this. I just used it for a school project that I am putting together and it works GREAT
http://www.micahcarrick.com/04-19-2005/ ... ation.html

Re: Zip code radius database needed

Posted: Thu Jul 01, 2010 2:25 am
by minos_mks
thank you so much , i will tray both of them , thanx