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

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

来源:帝国CMS教程发布者:帝国CMS模板网时间:2010-06-01

<?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?>
<br>
最新会员:<?=$newmember[username]?>