The above example doesn't actually output the way that the instructions specify. Write the code like this to get the more human readable output:
<?php
$info = cal_info(0);
print ( '<pre>' );
print_r($info);
print ( '</pre>' );
?>
![]() | cal_infoDescriptionarray cal_info ( [int calendar] )cal_info() returns information on the specified calendar. Calendar information is returned as an array containing the elements calname, calsymbol, month, abbrevmonth and maxdaysinmonth. The names of the different calendars which can be used as calendar are as follows:
If no calendar is specified information on all supported calendars is returned as an array. This functionality is available beginning with PHP 5.
![]()
colin at wonuke dot org
19-Oct-2005 04:38
The above example doesn't actually output the way that the instructions specify. Write the code like this to get the more human readable output:
oliver DOT pliquett @mediagear DOT de
27-Nov-2002 09:44
A little example code to show the array structure:
lovan at lifesci dot ucsb dot edu
08-Mar-2002 08:55
I think I've identified the calendar indexes used in the 'cal_*' functions, though this may be incomplete. | ![]() |