SHARE
TWEET

Untitled

a guest Jul 17th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $sql = "SELECT*, (3959* acos(cos(radians('".$lat."')) * cos(radians(lat)) * cos( radians(lng) - radians('".$lng."')) + sin(radians('".$lat."')) * sin(radians(lat)))) AS distance FROM Wo_Users HAVING distance < '".$distance."' ORDER BY distance LIMIT 0, 10";
RAW Paste Data
Top