PHP Classes

Event calendar: Draw Month Calendar Including Events

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 4,738 All time: 581 This week: 68Up
Version License PHP version Categories
event_calendar 1.0.1Freeware4Time and Date, Content management


This class can be used to draw month calendars of events with different colors. Events from MySQL database. Multiple events per day is also possible. For a particular event Event details is also available.

The class can render a calendar as an HTML table with all days of all the weeks of a given month.

It queries an events table in a MySQL database to retrieve all the events that occur in the specified month.

The month days on which there are scheduled events are rendered in a different way.

When the user clicks on the event day cell, the event details appear in a special row below the calendar table.

The calendar title and presentation styles are configurable.

The events in the database can be managed with a separate class.

Picture of Md. Aminul Islam
Name: Md. Aminul Islam <contact>
Classes: 8 packages by
Country: Bangladesh Bangladesh
Age: 43
All time rank: 1444 in Bangladesh Bangladesh
Week rank: 246 Down5 in Bangladesh Bangladesh Down




//Create Object for Calender Event.
$ObjEventCal=new ClsEventCalender();

//Define Calender Table Properties(Size,Color...)
$CalenderTblHeading="Event Calender";
$CalenderCellHeight=20; //Height of Calender Cell.
//Define Event Table Properties(Size,Color...)
$EventTblWidth=0; //Same Width of Calender

Created By: Md. Aminul Islam ( <br>
<table width="5%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF0000" style="border-collapse:collapse">
    <td><? $ObjEventCal->DrawCalender();?></td>

  Files folder image Files  
File Role Description
Accessible without login Plain text file database.sql Data Database Script for Store Events
Plain text file ClsConnection.cls.php Class For Create Database Connction
Accessible without login Plain text file EgClsEventCalender.php Example Example For Event Calender
Plain text file ClsEventCalender.cls.php Class Event Calender Class (Show)
Accessible without login Plain text file events_detail.php Example Details of a Particular Event

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:581
This week:68Up
 User Ratings  
 All time