加入收藏 | 设为首页 | 会员中心 | 我要投稿 牡丹江站长网 (https://www.0453zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 运营中心 > 建站资源 > 经验 > 正文

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

发布时间:2022-04-28 11:16:19 所属栏目:经验 来源:互联网
导读:列表页: $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;

(编辑:牡丹江站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!