帝国cms内容里面图片统计

  1.     <?php
  2. $fr=$empire->fetch1("select newstext from {$dbtbpre}ecms_news_data_{$r[stb]} where id='$r[id]'");
  3. $neirong=$fr['newstext'];
  4. $imgcount=substr_count($neirong,"<img");
  5. ?>
复制代码
</span><?=$imgcount?></span>




上一篇:帝国cms用php输出调用点赞功能
下一篇:帝国CMS 首页列表页调用TAGS文章教程
如无回复请发邮件