Login   Register  
PHP Classes
elePHPant
Icontem

File: exampleFile

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 9 years ago
Size: 614 bytes
 

Contents

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