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/4/7/f/jp-technics.be/httpd.www/classes/classes.php:173 Stack trace: #0 /customers/4/7/f/jp-technics.be/httpd.www/classes/classes.php(173): PDO->query('select * from t...') #1 /customers/4/7/f/jp-technics.be/httpd.www/portfolio.php(27): Operations->getList('tbl_img', 'where tbl_portf...') #2 {main} thrown in /customers/4/7/f/jp-technics.be/httpd.www/classes/classes.php on line 173