Fatal error: Uncaught exception 'Exception' with message '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 '' at line 1' in /home/funkler/public_html/admin/engine/mysql.database.php:31 Stack trace: #0 /home/funkler/public_html/admin/engine/mysql.database.php(66): mysql->query('SELECT * FROM `...') #1 /home/funkler/public_html/admin/engine/frontend.class.php(130): mysql->result('SELECT * FROM `...') #2 /home/funkler/public_html/gallery3.php(42): frontend->result('SELECT * FROM `...') #3 {main} thrown in /home/funkler/public_html/admin/engine/mysql.database.php on line 31