I need some help with setting up Geolocation Queries.
If i have a Users Table with addresses, postcodes, etc.... and on the front of my website i want to search a list of locations within say 5kms of my Postcode how would i set up my SQL tables and data to achieve this in Query?
Is there perhaps something more complex based on longitude/lattitude i would need to set up or perhaps some simple way of deciding how close a particular location is?