:(

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 'and txt_id< order by txt_id desc' at line 1

错误位置

FILE: D:\wwwroot\2018cszq_eamvbr\web\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 169

TRACE

#0 D:\wwwroot\2018cszq_eamvbr\web\ThinkPHP\Library\Think\Db\Driver.class.php(169): PDOStatement->execute()
#1 D:\wwwroot\2018cszq_eamvbr\web\ThinkPHP\Library\Think\Model.class.php(1362): Think\Db\Driver->query('select * from l...')
#2 D:\wwwroot\2018cszq_eamvbr\web\Application\Home\Controller\CasesController.class.php(25): Think\Model->query('select * from l...')
#3 [internal function]: Home\Controller\CasesController->content()
#4 D:\wwwroot\2018cszq_eamvbr\web\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\CasesController))
#5 D:\wwwroot\2018cszq_eamvbr\web\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#6 D:\wwwroot\2018cszq_eamvbr\web\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#7 D:\wwwroot\2018cszq_eamvbr\web\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#8 D:\wwwroot\2018cszq_eamvbr\web\index.php(81): require('D:\\wwwroot\\2018...')
#9 {main}