:(

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 ') LIMIT 1' at line 1 [ SQL语句 ] : SELECT * FROM `xy_lm` WHERE ( id= ) LIMIT 1

错误位置

FILE: /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 1048

TRACE

#0 /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/Db/Driver.class.php(1048): E('1064:You have a...')
#1 /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/Db/Driver.class.php(538): Think\Db\Driver->error()
#2 /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/Db/Driver.class.php(2836): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/Model.class.php(2275): Think\Db\Driver->select(Array)
#4 /www/wwwroot/www.anywhichway.net/Application/Home/Controller/IndexController.class.php(3756): Think\Model->find()
#5 [internal function]: Home\Controller\IndexController->news()
#6 /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/App.class.php(517): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#7 /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/App.class.php(328): Think\App::invokeAction(Object(Home\Controller\IndexController), 'news')
#8 /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/App.class.php(610): Think\App::exec()
#9 /www/wwwroot/www.anywhichway.net/ThinkPHP/Library/Think/Think.class.php(358): Think\App::run()
#10 /www/wwwroot/www.anywhichway.net/ThinkPHP/ThinkPHP.php(325): Think\Think::start()
#11 /www/wwwroot/www.anywhichway.net/index.php(117): require('/www/wwwroot/ww...')
#12 {main}