note 43487 added to function.date
| From: | wasiq911 at hotmail dot com | Date: | Wed, 23 Jun 2004 00:05:32 +0000 |
| Subject: | note 43487 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71525@lists.php.net to get a copy of this message | ||
Sorry! There's a correction to be made on the dynamic calendar.
Before:
else {?>
<tr><td colspan = "<?php echo $day; ?>"></td><?php echo
"\n"; }
Correction:
else if ($day > 0) {?>
<tr><td colspan = "<?php echo $day; ?>"></td><?php echo
"\n"; }
This just fixes the format...ONLY when the first of the month is on Sunday!
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43487
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43487&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43487&report=yes
Search -- http://master.php.net/manage/user-notes.php