PEAR::Calendar, error Missing argument 1 for calendar_month()
| From: | Louie Miranda | Date: | Thu, 30 Sep 2004 03:52:08 +0000 |
| Subject: | PEAR::Calendar, error Missing argument 1 for calendar_month() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14689@lists.php.net to get a copy of this message | ||
error on browser:
Warning: Missing argument 1 for calendar_month() in
/usr/local/lib/php/Calendar/Month.php on line 62
Warning: Missing argument 2 for calendar_month() in
/usr/local/lib/php/Calendar/Month.php on line 62
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
27 28 29 30 31
code:
<?php
require_once('Calendar/Month.php');
$Month = & new Calendar_Month();
$Month->build();
while ( $Day = & $Month->fetch() ) {
echo ( $Day->thisDay() ."\n" );
}
?>
what could i be missing? this is just a simple example i got from google?
--
Louie Miranda
http://www.axishift.com