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 '' at line 33' in /home/mart2go/public_html/assets/common.php:411 Stack trace: #0 /home/mart2go/public_html/assets/common.php(411): PDOStatement->execute() #1 /home/mart2go/public_html/product.php(20): getAllProducts(Array) #2 {main} thrown in /home/mart2go/public_html/assets/common.php on line 411