帝国cms会员中心模板修改 帝国CMS教程调用表内字段=某值的信息数量方法

帝国CMS教程

帝国cms教程调用表内字段=某值的信息数量

$num=$empire->gettotal("selectcount(*)astotalfrom{$dbtbpre}ecms_newswheremyarea='北京'");echo$num;