0){ $nextMonthDay = 1; for($i=$firstDay; $i<7; $i++){ $fillTrailingSpaces .=''; $nextMonthDay++; } } echo $fillTrailingSpaces;?>
< < > >
S M T W T F S


'.$nextMonthDay.'