- or download this
for ($d = $beg_day; ($d <= $end_day && $m == $end_month) || ($m != $en
+d_month && $d <= $days); $d++) {
- or download this
# if ($m = "12") { $days = "31"}
if ($m == 12) { $days = 31 }
- or download this
for ($d = $beg_day; $month == $end_month ? $d <= $end_day : $d <= $day
+s; $d++) {