加入收藏 | 设为首页 | 会员中心 | 我要投稿 云计算网_汕头站长网 (https://www.0754zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 运营中心 > 建站资源 > 经验 > 正文

帝国cms7.0如何在后台评论表1中显示自定义评论字段的内容

发布时间:2021-12-18 11:17:22 所属栏目:经验 来源:互联网
导读:找到文件 /e/admin/pl/ListAllPl.php,在文件ListAllPl.php中找到 $query=select plid,username,saytime,sayip,id,classid,checked,zcnum,fdnum,userid,isgood,saytext,pubid from {$dbtbpre}enewspl_.$restb.$add; 取得总条数,把自定义的字段添加进去,本示
找到文件 /e/admin/pl/ListAllPl.php,在文件ListAllPl.php中找到
 
$query="select plid,username,saytime,sayip,id,classid,checked,zcnum,fdnum,userid,isgood,saytext,pubid from {$dbtbpre}enewspl_".$restb.$add;
取得总条数,把自定义的字段添加进去,本示例添加的是,联系电话,tel,注意后边是英文逗号,结果如下所示:
 
$query="select tel,plid,username,saytime,sayip,id,classid,checked,zcnum,fdnum,userid,isgood,saytext,pubid from {$dbtbpre}enewspl_".$restb.$add;
取得总条数,显示部分添加代码:<?=$r[tel]?>
 
 

帝国cms7.0如何在后台评论表1中显示自定义评论字段的内容

(编辑:云计算网_汕头站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读