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 MySQL server version for the right syntax to use near ')' at line 1 in /home/parine/public_html/app/main.php:80 Stack trace: #0 /home/parine/public_html/app/main.php(80): PDOStatement->execute() #1 /home/parine/public_html/app/app_product.php(29): model->doselect('SELECT * FROM c...') #2 /home/parine/public_html/app/app_product.php(17): app_product->getColor(NULL) #3 /home/parine/public_html/product.php(27): app_product->getInfo('99') #4 {main} thrown in /home/parine/public_html/app/main.php on line 80