Home >CMS Tutorial >DEDECMS >How to call Dream Weaver Most commented articles

How to call Dream Weaver Most commented articles

藏色散人
藏色散人Original
2020-01-03 10:11:062411browse

How to call Dream Weaver Most commented articles

How to call the article with the most comments?

Dreamweaver dedecms calls the article with the most comments

Recommended learning: Dreamweavercms

dedeThe most commented article ranking version code call , and call the first comment content

{dede:sql sql="SELECT url,arctitle,msg, count( * ) AS count FROM dede_feedback
 GROUP BY arctitle ORDER BY count DESC LIMIT 0,10"} 
<li><a href="[field:url/]">[field:arctitle/]</a>[field:msg/]</li> 
{/dede:sql}

The above is the detailed content of How to call Dream Weaver Most commented articles. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn