帝国cmsamh伪静态 帝国CMS调用订单信息的方法

帝国CMS教程

帝国cms调用订单信息的方法:

$i=1;

$result = mysql_query("SELECT * FROM {$dbtbpre}enewsshopdd_add left join {$dbtbpre}enewsshopdd on {$dbtbpre}enewsshopdd_add.ddid = {$dbtbpre}enewsshopdd.ddid order by {$dbtbpre}enewsshopdd_add.ddid desc limit 0,4");

while($row = mysql_fetch_array($result)) {

$ddinfoarr = explode("|",$row[buycar]);

$shopinfor = explode(",",$ddinfoarr[2]);//商品的classid和id信息

?>

会员订购了元

$i++;

}

?>