帝国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]?>

电话 短信 电脑 客服