Home > Article > CMS Tutorial > 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!