PHP Event Calendar"; echo "This is a demo. We are not saving the event to the calendar, but you could.

"; echo "We are demo-ing building the calendar, and interacting with it.

"; echo "Event: $event
"; echo "Date: $eventdate
"; exit(); } ?> PHP Event Calendar

PHP Event Calendar

Add New Event
Event:
Event Date: mm/dd/yyyy

"; for ($i=1; $i<=$firstwday; $i++) { echo ""; } $firstweek = false; } /*== Sunday start week with ==*/ if ($wday==0) { echo ""; } /*== check for event ==*/ echo "\n"; /*== Saturday end week with ==*/ if ($wday==6) { echo "\n"; } $wday++; $wday = $wday % 7; $d++; } ?>
<< >>
SuM T W ThF Sa
 
"; echo "$d"; echo "
Click on a date to select it and to populate the event date field on the left