1 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/180)*SIN(3.1415926535898 * lat/180)) + (COS(3.1415926535898* /180)*cos(3.14159' at line 1