首頁  >  文章  >  資料庫  >  mysql-购物车结算报错的问题

mysql-购物车结算报错的问题

WBOY
WBOY原創
2016-06-06 09:42:591237瀏覽

mysql

购物车里的两件不同商品一起结算后报的错误:

<code> MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT *FROM `rishengxjd`.`ecs_favourable_activity` WHERE start_time = '1420966015' AND CONCAT(',', user_rank, ',') LIKE '%,2,%' AND act_type IN ('2','1') AND supplier_id= ) [2] => Array ( [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 '' at line 1 ) [3] => Array ( [errno] => 1064 ) )</code>
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn