Find whats in a radius of a postcode
Does anyone know a way to find what is in a radius of a postcode using PHP. A great example of what I want is on property websites where it says enter a location and how many miles from that location do you want to live 1, 2 or 3 miles. Then the PHP coding picks all the properties that are in the location I selected and then all the properties within the radius of 1, 2 or 3 miles of the location. I can get hold of all the postcodes with relating area names and longitude and latitude.