帝国教程

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

来源:我爱模版网 作者:挽木琴 时间:2026-07-08
浏览:23 收藏 点赞(0)
简介:用帝国cms程序之sql调用12小时: 6小时:

帝国cms程序之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")?>
在线
客服