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 MariaDB server version for the right syntax to use near '' at line 1 in /www/wwwroot/auvietpen.com/Library/ClassPDO.php:122
Stack trace:
#0 /www/wwwroot/auvietpen.com/Library/ClassPDO.php(122): PDO->prepare()
#1 /www/wwwroot/auvietpen.com/Library/ClassPDO.php(193): Library\ClassPDO->Init()
#2 /www/wwwroot/auvietpen.com/Library/functions.php(361): Library\ClassPDO->query()
#3 /www/wwwroot/auvietpen.com/Model/news.php(15): Library\functions->luotxem()
#4 /www/wwwroot/auvietpen.com/Library/Controller.php(305): include('/www/wwwroot/au...')
#5 /www/wwwroot/auvietpen.com/Library/autoload.php(55): require_once('/www/wwwroot/au...')
#6 /www/wwwroot/auvietpen.com/index.php(12): require_once('/www/wwwroot/au...')
#7 {main}
thrown in /www/wwwroot/auvietpen.com/Library/ClassPDO.php on line 122