Location: PHPKode > scripts > EasyPhpEventCalendar Class > easyphpeventcalendar-class/readme/readme.txt
How to use this class:

1. Insert the class in your PHP page:                 include_once('../easyphpeventcalendar.class.php');
2. Activate the class:                                $calendar = new easyphpeventcalendar;
3. Provide a path to the 'gfx' directory:             $calendar -> Gfxurl     = '../gfx';

4. Insert the following 2 lines between the <head> tags of your page:

$calendar -> CreateEventCalendarCSS();
<script type="text/javascript" src="../inc/eventcalendar.js"></script>

5. Insert the calendar on your page:

$calendar -> CreateEventCalendar();

See the example for more detailed information.
Return current item: EasyPhpEventCalendar Class