织梦DedeCMS如何调用文章内容页的评论数-DEDECMS

资源魔 62 0

织梦DedeCMS若何挪用文章内容页的评论数?

织梦DedeCMS挪用文章内容页的评论数

保举学习:织梦cms

第一步:起首正在plus目次下,建设一个文件名为:feedcount.php,代码以下:

document.write("共有<?php
require_once(dirname(__FILE__)."/../include/co妹妹on.inc.php");
$row = $db->GetOne("select count(*) as fc from dede_feedback where aid='{$aid}'");
if(!is_array($row)){
echo "0";
}else {
echo $row['fc'];
}
?>位用户了宣布评论");

标签: dedecms 织梦教程 织梦技巧 dedecms教程 dede问题解决

抱歉,评论功能暂时关闭!