请问PbootCMS中sql标签使用案例之统计网站留言总数
{pboot\:sql sql="语句"}[sql:字段]{pboot\:sql}
留言总数实现代码栗子如下:
{pboot\:sql sql="select count(id) as total from ay_message"} <div>当前留言合计:[sql:total]条</div> {pboot\:sql}
更新时间:2025-04-10 22:30:15
上一篇:请问Fatal error_ Call to a member function read() on a non-object in 错误解决方法(织梦程序报错)
转载请注明原文链接:https://www.muzicopy.com/suibi/129.html