Home > CMS Tutorial > DEDECMS > body text

How to call Dream Weaver Most commented articles

藏色散人
Release: 2020-01-03 10:11:06
Original
2381 people have browsed it

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}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template