how do I write a query based on distance, its a bit hard to explain but heres what I am looking for
On websites like gum tree, there is an option which says "WITH IN MILES" +10 miles, +5 miles e.t.c.
How do I calculate the area based on the city or postcode provided by the user.
How will the query execute and return results based on this search. thank you.
Im using PHP and MYSQL for this project.