Fatal error: Uncaught exception 'PDOException' with message '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 '-12,12' at line 1' in /home/u239822/tattooformat.ru/www/controllers/gallery.php:52 Stack trace: #0 /home/u239822/tattooformat.ru/www/controllers/gallery.php(52): PDOStatement->execute() #1 /home/u239822/tattooformat.ru/www/classes/Router.php(105): Controller_Gallery->index() #2 /home/u239822/tattooformat.ru/www/index.php(79): Router->delegate() #3 {main} thrown in /home/u239822/tattooformat.ru/www/controllers/gallery.php on line 52