Articles
Php Functions
Easy Calendar Applications - Page 6
by: Mark Musone
|
July 30, 2000
Finally, we simply call mcal_store_event. This function takes
the current event and adds it to the calendar store.
addeventaction.php3:
<?php
$stream=mcal_open("{/mstore}","musone","hi");
mcal_event_set_title($stream,$title);
mcal_event_set_description($stream,$description);
mcal_event_set_category($stream,$category);
mcal_event_set_start($stream,$year,$month,$day);
mcal_store_event($stream);
Header("Location: index.php3?month=$month&year=$year");
?>
--Mark