后台修改订单,更改商品数量出现数据库错误!!

2016-07-07 15:13 来源:www.chinab4c.com 作者:ecshop专家





点更新商品数据库报错
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT goods_number FROM `数据库名字`.`ecs_goods`WHERE goods_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 ) )

还有底部多了ty.get.step}&address_id=' + addressId; }

回答:
年哪个ID怎么是空的。

还是不懂

你看下你的SQL语句。写的不对。加上 ''

帮忙顶下,

看看