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