帝国cms调用订单信息的代码

实现帝国CMS调用订单信息的代码:<?php
$i=1;
$result= mysql_query("SELECT * FROM {$dbtbpre}enewsshopdd_add left join {$dbtbpre}enewsshopdd on {$dbtbpre}enewsshopdd_add.ddid = {$dbtbpre}e

[时间:10-15]    [浏览:]    [放入收藏夹]    [查看详情]

实现帝国CMS调用订单信息的代码:

<?php
$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信息
?>
<a><?=$i?>、会员<?php echosubstr_replace($row["mycall"],"******",3,6);?>订购了<?=$ddinfoarr[6]?><span><?=$ddinfoarr[4]?></span>元</a>
<?php
$i++;
}
?>

  本文转载自:精准像素:11px.cn ,感谢作者分享实用知识


标签: