
其实就是用SQL语句的count来统计数据表内里的信息数,详细代码如下:(直接模板里用PHP输出即可)
会员数量:<?=$empire->gettotal("select count(*) as total from phome_enewsmember");?>
留言数量:<?=$empire->gettotal("select count(*) as total from phome_enewsgbook");?>
评论数量:<?=$empire->gettotal("select count(*) as total from phome_enewspl_1");?>
转载请注明: 帝国模板 » 帝国CMS首页调用会员数/留言数/评论数的圆法
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
