PHP Classes

If you have a zip code database, this gives you a good array ...

Recommend this page to a friend!

      Zip Code Range  >  All threads  >  If you have a zip code database,...  >  (Un) Subscribe thread alerts  
Subject:If you have a zip code database,...
Summary:Package rating comment
Messages:2
Author:Vernon Kesner
Date:2008-06-16 17:30:27
Update:2009-12-15 08:19:57
 

Vernon Kesner rated this package as follows:

Utility: Good
Consistency: Good
Documentation: Sufficient

  1. If you have a zip code database,...   Reply   Report abuse  
Picture of Vernon Kesner Vernon Kesner - 2008-06-16 17:30:27
If you have a zip code database, this gives you a good array of zip codes within a certain range. Script is easy to use although I would love a way to use the info to perform another query in order to list items by distance. Perhaps I haven't put enough though into that aspect yet though.

  2. Re: If you have a zip code database,...   Reply   Report abuse  
Picture of Allan Bogh Allan Bogh - 2009-12-15 08:19:57 - In reply to message 1 from Vernon Kesner
You can sort by this method:

$assocZipArray = $zip->getZipCodesInRange();
asort($assocZipArray);
print_r($assocZipArray);