PDOException: 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 ') AND (status!='inactive') AND (style='transitional') ORDER BY categories, colle' at line 1 in /home/customer/www/hekmancontract.com/public_html/product-display.php:229 Stack trace: #0 /home/customer/www/hekmancontract.com/public_html/product-display.php(229): PDO->query('SELECT * FROM p...') #1 /home/customer/www/hekmancontract.com/public_html/product-display.php(39): shopStyle(Object(PDO), 'transitional') #2 {main}