易仿帝国yfdiguo.com

您当前的位置:首页 > 问题库

帝国CMS SQL显示指定时间内更新的信息数量

zcmcss发表于2017-12-11问题库
帝国CMS显示指定时间内更新的信息数量,用sql调用

24小时:<?=$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")?>

热门问题

©2017 易仿帝国yfdiguo.com


友情链接: 阿里云优惠网| 阿里云推荐码| 阿里云教程| 莫愁博客|
♥ www.yfdiguo.com
联系作者QQ: