phpweb批量更新商品价格!更新某一个分类的商品售价为指定折扣:代码如下:php<1&&!empty($catid)){if($isall=="on"){$msql->query( "update {P}_shop_con set price={$price}*price" );echo "更新全部分类成功!!!! ";}else{$msql->query( "update {P}_shop_con set price={$price}*price where catid='".$catid."'" );echo "更新分类成功!!!! ";}}else{echo "更新失败!!!! ";}?>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">
...
继续阅读
(22)