当前位置 : 主页 > 网络编程 > PHP >

当天数据

来源:互联网 收集:自由互联 发布时间:2021-06-28
gistfile1.txt $nowdate = date("Y-m-d", time()); $dayregnum = m('users')-where(array("_string" = "from_unixtime(regtime,'%Y-%m-%d')='" . $nowdate . "'"))-field("id")-count();
gistfile1.txt
$nowdate = date("Y-m-d", time());
        $dayregnum = m('users')->where(array("_string" => "from_unixtime(regtime,'%Y-%m-%d')='" . $nowdate . "'"))->field("id")->count();
网友评论