帝国cms7.0如何在后台评论表1中显示自定义评论字段的内容
发布时间:2021-12-18 12:24:28 所属栏目:经验 来源:互联网
导读:找到文件 /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]?> ![]() (编辑:鞍山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |