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/panwo804/public_html/Library/ClassPDO.php:122
Stack trace:
#0 /home/panwo804/public_html/Library/ClassPDO.php(122): PDO->prepare('UPDATE table_po...')
#1 /home/panwo804/public_html/Library/ClassPDO.php(193): Library\ClassPDO->Init('UPDATE table_po...', NULL)
#2 /home/panwo804/public_html/Library/functions.php(222): Library\ClassPDO->query('UPDATE table_po...')
#3 /home/panwo804/public_html/Model/product.php(62): Library\functions->luotxem('post', NULL)
#4 /home/panwo804/public_html/Library/Controller.php(186): include('/home/panwo804/...')
#5 /home/panwo804/public_html/Library/autoload.php(57): require_once('/home/panwo804/...')
#6 /home/panwo804/public_html/index.php(19): require_once('/home/panwo804/...')
#7 {main}
thrown in /home/panwo804/public_html/Library/ClassPDO.php on line 122