user_id #0 /data/project/yunyinshua/rtl/src/lib/db/driver/mysqli_class.php(70): IMysqli->read('...', 1) #1 /data/project/yunyinshua/rtl/src/lib/db/db_class.php(87): IMysqli->doSql('...') #2 /data/project/yunyinshua/rtl/src/lib/core/query_class.php(203): IDB->query('...') #3 /data/project/yunyinshua/rtl/src/lib/core/query_class.php(227): IQuery->query() #4 /data/project/yunyinshua/rtl/src/classes/cart.php(619): IQuery->find() #5 /data/project/yunyinshua/rtl/src/controllers/simple.php(1856): Cart->getMyCartVue('...', '...') #6 /data/project/yunyinshua/rtl/src/lib/web/action/inline_action.php(30): Simple->cart() #7 /data/project/yunyinshua/rtl/src/lib/web/controller/controller_class.php(343): IInlineAction->run() #8 /data/project/yunyinshua/rtl/src/lib/core/webapplication_class.php(38): IController->run() #9 /data/project/yunyinshua/rtl/src/lib/core/application_class.php(115): IWebApplication->execRequest() #10 /data/project/yunyinshua/rtl/src/index.php(7): IApplication->run() /data/project/yunyinshua/rtl/src/lib/db/driver/mysqli_class.php96select id,content,type,create_time,model from yys_goods_cart where user_id = order by id desc limit 10000 -- 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 id desc limit 10000' at line 1