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 1' in /home/sammifire/public/lib/BasicClass.php:82 Stack trace: #0 /home/sammifire/public/lib/BasicClass.php(82): PDO->query('SELECT * FROM c...') #1 /home/sammifire/public/lib/BasicClass.php(98): BasicClass->resultForm('cs_goods', 'WHERE display =...', '*') #2 /home/sammifire/public/kor/sub/0201_view.php(14): BasicClass->object('cs_goods', 'WHERE display =...') #3 {main} thrown in /home/sammifire/public/lib/BasicClass.php on line 82