Location: PHPKode > scripts > PHPalm Calendar > phpalm-calendar/example.1.php

/* PHPalm - Calendar
 * Example 1 : Display a simple calendar with the current year and month and let you change the month.
 * This is the simplest way of displaying a calendar
 * 02/12/2005
 * Author : Rémy Salettes
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation.	

//We include the class
require_once ("calendar.class.php");

//We create an instance of the class
$MyCal = new calendar();

//We call the generate() function, all is in its name

//We call the draw() function which allow you to display the calendar generated before


Return current item: PHPalm Calendar