:(

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:\wwwroot\pintaikeji\wwwroot\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 217

TRACE

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