I have this table in mysql database.
This is my PHP file:
$user_latitude = 45.11123;
$user_longitude = 20.33445;
$query = "";
I want to create a query that returns the ids (of the rows in the table) in order of distance from user position($user_latitude,$user_longitude). I want to do this by using a MySQL query.