注册 | 登录 |
地方论坛门户及新闻和人才网址大全

按照小时显示更新数量怎么实现

时间:2021-07-21人气:-


用sql调用
12小时:<?=$empire->gettotal("select count(*) as total from phome_ecms_表 where newstime>UNIX_TIMESTAMP()-24*3600")?>
6小时:<?=$empire->gettotal("select count(*) as total from phome_ecms_表 where newstime>UNIX_TIMESTAMP()-6*3600")?>


上篇:帝国cmsV6.5新增工作流功能,最高可支持100级审核流程

下篇:如何设置首页分页