美文网首页
PHP(10)mysql查询指定日期间的数据

PHP(10)mysql查询指定日期间的数据

作者: 弗兰克万岁 | 来源:发表于2019-06-02 15:46 被阅读0次
    $year=$_GET['year'];
    $month=$_GET['month'];
    $q="select count(*) from log where month(insertDate)=$month AND YEAR(InsertDate)=$year;";
    

    相关文章

      网友评论

          本文标题:PHP(10)mysql查询指定日期间的数据

          本文链接:https://www.haomeiwen.com/subject/vumxxctx.html