帝国ECMS教程:调用已注册会员人数和最新会员名称

http://www.itjxue.com  2015-08-14 20:01  来源:未知  点击次数: 

代码如下:


1 <?php

2 $members=$empire->gettotal("select count(*) as total from phome_enewsmember");

3 $newmember=$empire->fetch1("select userid,username from phome_enewsmember order by userid desc limit 1");

4 ?>

会员总人数:<?=$members?>
< br>
最新会员:<?=$newmember[username]?>

(责任编辑:IT教学网)

更多

推荐CMS技巧文章