PHP Classes

PHP Calendar: Generate month calendar that can be used in forms

Recommend this page to a friend!
  Info   View files Example   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 3,314 All time: 1,044 This week: 196Up
Version License PHP version Categories
phpcalendar 1.0Free for non-comm...4.0HTML, Time and Date
Description 

Author

This package can be used to generate month calendars that can be used to pick dates in Web forms.

It generates calendars in HTML with Javascript to navigate between the months and the years without page reloading.

The class can display multiple calendars in the same page and the calendar can be used to pick dates for use in Web forms.

Picture of Christoff Truter
Name: Christoff Truter <contact>
Classes: 1 package by
Country: South Africa South Africa
Age: 41
All time rank: 9618 in South Africa South Africa
Week rank: 312 Up4 in South Africa South Africa Up

Example

<html>

<head>

<title>Calendar Example 1</title>

<link rel="stylesheet" type="text/css" href="styles/calendar.css" />

</head>

<body>

<?

include "includes/PHP4/calendar.php";
$calendar = new Calendar("example1");
echo
$calendar->Output();

?>

</body>

</html>


  Files folder image Files  
File Role Description
Files folder imagedocs (5 files)
Files folder imageincludes (2 directories)
Files folder imagejs (1 file)
Files folder imagestyles (1 file)
Accessible without login Plain text file example1.php Example Example using calendar outside form
Accessible without login Plain text file example2.php Example Example using calendar inside a form

  Files folder image Files  /  docs  
File Role Description
  Accessible without login Plain text file example1.html Doc. Documentation explaining example 1
  Accessible without login Plain text file example2.html Doc. Documentation explaining example 2
  Accessible without login HTML file index.html Doc. Documentation index
  Accessible without login HTML file properties.html Doc. Documentation about class properties
  Accessible without login Plain text file style.css Data Documentation stylesheet

  Files folder image Files  /  includes  
File Role Description
Files folder imagePHP4 (2 files)
Files folder imagePHP5 (2 files)

  Files folder image Files  /  includes  /  PHP4  
File Role Description
  Plain text file calendar.php Class PHP 4 version of the Calendar Class
  Plain text file controls.php Class PHP 4 version of the abstract Control class used in my controls

  Files folder image Files  /  includes  /  PHP5  
File Role Description
  Plain text file calendar.php Class PHP 5 version of the Calendar Class
  Plain text file controls.php Class PHP 5 version of the abstract Control class used in my controls

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file calendar.js Data Javascript no-postback mechanism

  Files folder image Files  /  styles  
File Role Description
  Accessible without login Plain text file calendar.css Data StyleSheet to set look and feel

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,314
This week:0
All time:1,044
This week:196Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:66%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2815
 
in example2.
7 years ago (Raunak Gupta)
12%Star