where time = CURDATE();

解决方案 »

  1.   

    看一下最后更新时间就可以了啊。
    就是统计下更新时间是今天的有多少条记录$sql = "select count(*) from table where updatetime=DATE(now())";
      

  2.   

    "select count(*) from soft where systime_last=DATE(now())"
    结果是:1条,实际上今天更新有10条
      

  3.   

    $sql = "select count(*) from table where updatetime like 'DATE(now())%'";
      

  4.   

    select count(*) from table
    where cast(updatetime as date)=cast(".date('Y-m-d')." as date);
      

  5.   

    $sql = "select count(*) from table where updatetime=DATE(now())";
      

  6.   

    不行啊,老大们,到底怎么搞?这一句:
    $sql = "select count(*) from table where updatetime=DATE(now())";
    运行的结果始终是1