PHP Classes

File: caltest.php

Recommend this page to a friend!
  Classes of Harish Chauhan   Calendar Events   caltest.php   Download  
File: caltest.php
Role: Example script
Content type: text/plain
Description: example
Class: Calendar Events
Display and manage database stored calendar events
Author: By
Last change:
Date: 18 years ago
Size: 776 bytes


Class file image Download
//You can use mysql and sqlite database. For it is easy to use database wrapper classes
    //Please get IT FROM
    //And uncommnet the db statements from the CALEVENT class



$cal=new CALEVENTS();
// OR $cal=new CALEVENTS($host,$user,$password,$database);
    //Add event
    //$event="This is fourth event";

    //Update event
    //$event="This is updated fourth event";

    //Delete Event
    // OR $cal->delEvent("1,4,6");