I have db table which has location details like postal code, long/lat data, region, city etc..
I am using this data to display users location in my web application. Now I want to sort places searched by user according to distance, like nearest place first. How can I calculate distance between users current lcation and the places he has searched and then sorting the result as per distance.
I have db table which has location details like postal code, long/lat data, region,
Share
1 Answer