用帝国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")?>
网友整理
注册时间:
网站:5 个 小程序:0 个 文章:12 篇
网站
小程序
文章
会员