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 'WHERE `lx_id` = 1' at line 1' in E:\apache\htdocs\ls\ThinkPHP\Library\Think\Db\Driver.class.php:217 Stack trace: #0 E:\apache\htdocs\ls\ThinkPHP\Library\Think\Db\Driver.class.php(217): PDOStatement->execute() #1 E:\apache\htdocs\ls\ThinkPHP\Library\Think\Db\Driver.class.php(895): Think\Db\Driver->execute('UPDATE `ls_lxfs...', false) #2 E:\apache\htdocs\ls\ThinkPHP\Library\Think\Model.class.php(451): Think\Db\Driver->update(Array, Array) #3 E:\apache\htdocs\ls\Admin\Controller\ContactController.class.php(23): Think\Model->save() #4 [internal function]: Admin\Controller\ContactController->update('1') #5 E:\apache\htdocs\ls\ThinkPHP\Library\Think\App.class.php(162): ReflectionMethod->invokeArgs(ob
clip_image002.jpg
( 21.2 KB 下载:2 次 )
最佳答案