$mes = "11"; //date("m"); $ano = "2007"; //date("Y"); for($i = 1; $i < 33; ) {echo "$i/$mes/$ano
"; $i++; $d = mktime(0,0,0,$mes ,$i, $ano); if(date('d',$d) == "01") { break; } //dia 1 do proximo mes: parar! }?>