PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Gobinath Mallaiyan   Calendar Generator   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: Calendar Generator
Generate a calendar of a given month in HTML
Author: By
Last change:
Date: 19 years ago
Size: 250 bytes
 

Contents

Class file image Download
<?php
require_once("calendar.class.php");

$cal = new calendar();
$Month = 12;
$Year = 1988;

// Calendar For Assigned Date
$cal->AssignDate($Month,$Year); // Required Parameter is Month and Year, respectively
$cal->GenerateCalendar();

?>