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

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

时间: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")?>


上篇:关于帝国cms的优化问题

下篇:如果去除采集内容里的链接和广告