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 MariaDB server version for the right syntax to use near '' at line 1 in /customers/e/d/b/badkamer-renovatie-antwerpen.be/httpd.www/classes/classes.php:173 Stack trace: #0 /customers/e/d/b/badkamer-renovatie-antwerpen.be/httpd.www/classes/classes.php(173): PDO->query('select * from t...') #1 /customers/e/d/b/badkamer-renovatie-antwerpen.be/httpd.www/portfolio.php(15): Operations->getList('tbl_img', 'where tbl_portf...') #2 {main} thrown in /customers/e/d/b/badkamer-renovatie-antwerpen.be/httpd.www/classes/classes.php on line 173