Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '-50,50' at line 9 in /home/sclord/webapps/makrigiannis_2016/api/api.class.php:1470 Stack trace: #0 /home/sclord/webapps/makrigiannis_2016/api/api.class.php(1470): PDOStatement->execute() #1 /home/sclord/webapps/makrigiannis_2016/results.php(67): Makris->search_filter(Array) #2 {main} thrown in /home/sclord/webapps/makrigiannis_2016/api/api.class.php on line 1470