购物车全部商品
商品名
单价
数量
小计(元)
操作
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 100' at line 1
select * from uq_cart where uid = order by id desc limit 100

Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in /www/wwwroot/b2c/UQframework/class/db.class.php:8 Stack trace: #0 /www/wwwroot/b2c/App/b2c/home/modules/cart.mod.php(8): db->get_all('cart', 'uid = order by...') #1 /www/wwwroot/b2c/UQframework/mytpl.class.php(8): cart_mod->get_list(Array) #2 /www/wwwroot/b2c/temp/b2c/templates_c/home/%%49^49B^49BC7652%%index.html.php(22): mytpl->load_module(Array, Object(mytpl)) #3 /www/wwwroot/b2c/UQframework/vendor/smarty/Smarty.class.php(625): include('/www/wwwroot/b2...') #4 /www/wwwroot/b2c/UQframework/vendor/smarty/Smarty.class.php(483): Smarty->fetch('/www/wwwroot/b2...', NULL, NULL, true) #5 /www/wwwroot/b2c/UQframework/mytpl.class.php(8): Smarty->display('/www/wwwroot/b2...') #6 /www/wwwroot/b2c/UQframework/core.class.php(8): mytpl->displays() #7 /www/wwwroot/b2c/App/b2c/home/controls/cart.class.php(8): control->display() #8 /www/wwwroot/b2c/UQframework/core.class.php(8): cart_uqcms->index() #9 /www/wwwroot/b2c/UQframework/core.class.php(8): fram in /www/wwwroot/b2c/UQframework/class/db.class.php on line 8