Mini

From Easy PHP Calendar Instructions
Jump to: navigation, search

All that is required to display the mini calendar on a web page is to use the PHP require command by placing the code below where the calendar should appear on the page.

<?php require("calendar/calendar.php"); ?>

Replace "calendar/" with the actual path to the calendar directory relative to the directory of your web page.

Note: Always use relative paths. Do NOT use 'http://www.YourDomainName.com/calendar/calendar.php' in the require command or the calendar will not perform as expected.

View the examples/mini.php file for an example of how this is used.