linhuiming
因上努力,果上随缘

11.16 应用举例 专题

  • LinHuiMing

11.16 应用举例 专题

灵动标签调用专题

[e:loop={'select * from [!db.pre!]enewszt where zcid=1 order by ztid limit 10',10,24,0}]<li><a href="<?=$bqr[ztpath]?>" target="_blank"><i><img src="<?=$bqr[ztimg]?>" ></i><span><b><?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid={$bqr['ztid']} ")?></b><?=$bqr[ztname]?></span> </a> </li>[/e:loop]

专题统计:

<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid={$bqr['ztid']} ")?>
  • YES
  • NO
更多>>

相关文章