heya all coders . i have created a Real Estate system for one of my clients and im stuck on a feature he requested, Uk postcodes look like: A9 9AA A99 9AA A9A 9AA AA9 9AA AA99 9AA AA9A 9AA Code (markup): what would be the best way to search these for locations such as: Search by postcode: WS42az Radius? 10 miles etc ect could this be done with an api from google or another map provider? ideas would be great thanks..
I found a good PHP script at http://www.sloomedia.com/php_postcode_script.php that uses a database to calculate distances between postcodes.
You might find this useful: http://aciddrop.com/2007/12/17/quick-easy-and-free-nearest-store-postcodezip-finder/