:(

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

错误位置

FILE: D:\web\puhegj\web\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 217

TRACE

#0 D:\web\puhegj\web\ThinkPHP\Library\Think\Db\Driver.class.php(217): PDOStatement->execute()
#1 D:\web\puhegj\web\ThinkPHP\Library\Think\Model.class.php(1378): Think\Db\Driver->execute('update tb_news ...')
#2 D:\web\puhegj\web\Apps\Home\Controller\NewsController.class.php(417): Think\Model->execute('update tb_news ...')
#3 [internal function]: Home\Controller\NewsController->read()
#4 D:\web\puhegj\web\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#5 D:\web\puhegj\web\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#6 D:\web\puhegj\web\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#7 D:\web\puhegj\web\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#8 D:\web\puhegj\web\index.php(13): require('D:\web\puhegj\w...')
#9 {main}