I have a mySql table named tbl_places
This contains fields
Place_id
, PlaceName
, Place_LATITUDE
, place_LONGITUDE
.
I want to use it in the place detail
page now
If the current place_id
of the open page is 4 then I want a maximum 6 records nearest to that place.
Suppose the current place is:
place_id = 4
place_name = Lal Killa
place_LATITUDE = 77.2413969039917
place_LONGITUDE = 28.653838307772872
I can't understand how to find nearest place to the current place??