PHP Classes

File: exampleFile

Recommend this page to a friend!
  Classes of Er. Rochak Chauhan   Calendar Component   exampleFile   Download  
File: exampleFile
Role: Example script
Content type: text/plain
Description: example file
Class: Calendar Component
Generate calendar for a given month
Author: By
Last change:
Date: 18 years ago
Size: 614 bytes


Class file image Download
$calender = new Calender('2005');
    for (
$i = 0; $i < 12; $i++) {
$month = $i+1;
"<center><hr />".$calender->intToMonth[$month]." ".$calender->year."<hr /></center>".$calender->getCodeForMonth($i);
<!--table align="center" width="80%" align="center" border="1">
            <td align="center" style="font-family:verdana;font-size:30">
                <strong> <?php echo $calender->intToMonth[$calender->month].' '.$calender->year; ?></strong>
                <?php echo $jan; ?>
    </table -->