今天的数据统计结果如何?
- 内容介绍
- 文章标签
- 相关推荐
本文共计43个文字,预计阅读时间需要1分钟。
plaintext脚本内容:获取今日注册用户数量
gistfile1.txt$nowdate = date("Y-m-d", time()); $dayregnum = m('users')->where(array("_string" => "from_unixtime(regtime,'%Y-%m-%d')='" . $nowdate . "'"))->field("id")->count();
本文共计43个文字,预计阅读时间需要1分钟。
plaintext脚本内容:获取今日注册用户数量
gistfile1.txt$nowdate = date("Y-m-d", time()); $dayregnum = m('users')->where(array("_string" => "from_unixtime(regtime,'%Y-%m-%d')='" . $nowdate . "'"))->field("id")->count();

