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/bobtd/public/lib/BasicClass.php:82 Stack trace: #0 /home/bobtd/public/lib/BasicClass.php(82): PDO->query('SELECT * FROM c...') #1 /home/bobtd/public/lib/BasicClass.php(98): BasicClass->resultForm('cs_part', 'where idx = ', '*') #2 /home/bobtd/public/kor/product/prd.php(53): BasicClass->object('cs_part', 'where idx = ') #3 {main} thrown in /home/bobtd/public/lib/BasicClass.php on line 82