<?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]?>
最好加上checked=1表示审核成功会员 <?php $members=$empire->gettotal("select count(*) as total from phome_enewsmember where checked=1"); $newmember=$empire->fetch1("select userid,username from phome_enewsmember where checked=1 order by userid desc limit 1"); ?> 会员总人数:<?=$members?> <br> 最新会员:<?=$newmember[username]?>
|