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 ' 2)* 68.1 * 68.1) + (POW(center_longitude + 0, 2) * 53.1 * 53.1) )) AS distance ' at line 1162