note 47033 deleted from ref.calendar by betz
| From: | betz@php.net | Date: | Sun, 31 Oct 2004 18:17:01 +0000 |
| Subject: | note 47033 deleted from ref.calendar by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79411@lists.php.net to get a copy of this message | ||
Note Submitter: bortuzar at linuxtech dot cl
----
i modified one line on the last calendar script.
$lastmonth = mktime (0, 0, 0, date("m")+$m, 1, date("Y"));
because the original dosent work if you execute it the day 31 or other upper day, because some
months have less days. Showing some months twice. But if you change it, every month has a day 1. So
all months will show up nicely.
----
Reason: useless example