您当前的位置:首页 > 帝国CMS教程

帝国cms首页调用已注册会员人数和最新会员名称

来源:帝国CMS教程发布者:帝国CMS模板网时间:2009-11-25
<?php
$members=$empire->gettotal("select count(*) as total from phome_enewsmember");
$newmember=$empire->fetch1("select userid,username from phome_enewsmember order by userid desc limit 1");
?>


会员总人数:

<?=$members?>



最新会员:

<?=$newmember[username]?>