AG九游会登录大厅(中国)股份有限公司

:(

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 ') ORDER BY `px` desc,`id` desc LIMIT 1' at line 1 [ SQL语句 ] : SELECT * FROM `model_news` WHERE ( id< ) ORDER BY `px` desc,`id` desc LIMIT 1

错误位置

FILE: D:\phpStudy\WWW\lib\Library\Think\Db\Driver.class.php  LINE: 394

TRACE

#0 D:\phpStudy\WWW\lib\Library\Think\Db\Driver.class.php(394): E('1064:You have a...')
#1 D:\phpStudy\WWW\lib\Library\Think\Db\Driver.class.php(198): Think\Db\Driver->error()
#2 D:\phpStudy\WWW\lib\Library\Think\Db\Driver.class.php(1066): Think\Db\Driver->query('SELECT * FROM `...', false, false)
#3 D:\phpStudy\WWW\lib\Library\Think\Model.class.php(816): Think\Db\Driver->select(Array)
#4 D:\phpStudy\WWW\APP\Home\Controller\NewsController.class.php(58): Think\Model->find()
#5 [internal function]: Home\Controller\NewsController->news_item()
#6 D:\phpStudy\WWW\lib\Library\Think\App.class.php(178): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#7 D:\phpStudy\WWW\lib\Library\Think\App.class.php(113): Think\App::invokeAction(Object(Home\Controller\NewsController), 'news_item')
#8 D:\phpStudy\WWW\lib\Library\Think\App.class.php(213): Think\App::exec()
#9 D:\phpStudy\WWW\lib\Library\Think\Think.class.php(136): Think\App::run()
#10 D:\phpStudy\WWW\lib\lib.php(100): Think\Think::start()
#11 D:\phpStudy\WWW\index.php(38): require('D:\\phpStudy\\WWW...')
#12 {main}

Baidu
sogou