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

 如何在内容页调用该会员所发的文章数?

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

扫一扫手机访问