Change your while loop to while($year<$year2 || ($year==$year2 && $month1<=$month2)).
In reply to Re: HTML::CalendarMonth date sequence not printing
by GrandFather
in thread HTML::CalendarMonth date sequence not printing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |