帝国CMS内容页调用该会员所发的文章数

 如何在内容页调用该会员所发的文章数?W9n迪尔课堂自学网---官网 (迪尔掌上课堂)

<?=$empire->gettotal(“select count(*) as total from phome_ecms_news where userid=’$navinfor[userid]‘ and ismember=1″)?>

扫一扫手机访问