ART
ARCHITECTURE
& HISTORY
in the Public Realm
unable to execute query SELECT record_id, name_title, latitude, longitude, (((acos(sin((* pi()/180 )) * sin((latitude * pi()/180 ))+cos(( * pi()/180)) * cos((latitude * pi()/180)) * cos(((- longitude) * pi()/180)))) * 180/pi()) * 60 * 1.1515 * 1.609344 ) * 5280 AS distance FROM item WHERE record_id != '13259' AND live = '1' ORDER BY distance ASC LIMIT 7: 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 '* pi()/180 )) * sin((latitude * pi()/180 ))+cos(( * pi()/180)) * cos((latitude *' at line 1