實現(xiàn)帝國CMS調(diào)用訂單信息的代碼:
<?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++; } ?>
版權聲明: 本站資源均來自互聯(lián)網(wǎng)或會員發(fā)布,如果侵犯了您的權益請與我們聯(lián)系,我們將在24小時內(nèi)刪除!謝謝!
轉載請注明: 帝國cms調(diào)用訂單信息的代碼