//$month,$row['b_time'],$row['e_time']格式为 2011-01-01
if( strtotime($month)>=strtotime($row['b_time']) &&
strtotime($month)<=strtotime($row['e_time']) ){
//DO SOMETHING
}
转载于:https://my.oschina.net/wangwang110/blog/14935
//$month,$row['b_time'],$row['e_time']格式为 2011-01-01
if( strtotime($month)>=strtotime($row['b_time']) &&
strtotime($month)<=strtotime($row['e_time']) ){
//DO SOMETHING
}
转载于:https://my.oschina.net/wangwang110/blog/14935