摘要:
今天在做数据报表模块,做了一些测试。把一些代码MARK一下。生成当月的所有天数:$all_day=date('t');for($i=1;$i结果:Array( [1] => 2013-11-1 [2] => 2013-11-2 [3] => 2013-11-3 [4] => 2013-11-4 [5] => 2013-11-5 [6] => 2013-11-6 [7] => 2013-11-7 [8] => 2013-11-8 [9] => 2013-11-9 [10] => 2013-11-10 [11] => 阅读全文