帝国cms如何实现在列表页显示信息的收藏次数

帝国cms如何实现在列表页显示信息的收藏次数

浏览次数:
作者: 墨鱼
信息来源: 本站原创
更新日期: 2015-06-23 15:20:35
文章简介

列表页:$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid='$r[classid]'");$listtemp='收藏数:'.$scs;

  • 正文开始
  • 相关阅读
  • 推荐作品

 列表页:
$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid='$r[classid]'");
$listtemp='收藏数:'.$scs;

PHP用substr函数截取字符串中的某部分
« 上一篇 2015年06月11日
帝国CMS建立模型字段报错:Row size too large. The maximum row size for the used table type的解决方法
下一篇 » 2015年06月27日

如本文对您有帮助,就请墨鱼抽根烟吧!