:(

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 '-9,9' at line 1 [ SQL语句 ] : SELECT * FROM `m_work` WHERE base_class=3 ORDER BY add_time desc LIMIT -9,9

错误位置

FILE: /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (320) trace()
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error(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 '-9,9' at line 1
[ SQL语句 ] : SELECT * FROM `m_work` WHERE base_class=3 ORDER BY add_time desc LIMIT -9,9 , , ERR)
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Lib/Core/Db.class.php (739) DbMysql->query()
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Lib/Core/Model.class.php (497) Db->select(SELECT * FROM `m_work` WHERE base_class=3 ORDER BY add_time desc LIMIT -9,9 )
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/home/Lib/Action/WorkAction.class.php (24) Model->select(Array)
[24-11-23 21:50:11] () WorkAction->index()
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Lib/Core/App.class.php (169) ReflectionMethod->invoke()
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Lib/Core/App.class.php (205) App::exec()
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Common/runtime.php (243) Think::start()
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/ThinkPHP/ThinkPHP.php (30) require(/usr/home/qxu1649890009/htdocs/meng/ThinkPHP/Common/runtime.php)
[24-11-23 21:50:11] /usr/home/qxu1649890009/htdocs/meng/index.php (22) require(/usr/home/qxu1649890009/htdocs/meng/ThinkPHP/ThinkPHP.php)