Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tim Akinbo  >  Yahoo Calendar  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: An example using the Yahoo Calendar class
Class: Yahoo Calendar
Generates URLs that add events to Yahoo Calendar
Author: By
Last change:
Date: 2003-03-07 02:10
Size: 273 bytes
 

Contents

Class file image Download
<?php

include('class.ycal.php');

$ycal = new ycal();

// Set the date for the event! YYYYMMDD
$ycal->date "20030305";

// Set title for event
$ycal->title "Lunch at Mr. Biggs with Dipo";

echo 
"<a href='" $ycal->genLink() . "'>Lunch at Mr. Biggs with Dipo</a>";

?>