PHP Classes

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

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 3,315 All time: 1,044 This week: 488Up
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

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 (13)  
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 (13)  /  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 (13)  /  includes  
File Role Description
Files folder imagePHP4 (2 files)
Files folder imagePHP5 (2 files)

  Files folder image Files (13)  /  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 (13)  /  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 (13)  /  js  
File Role Description
  Accessible without login Plain text file calendar.js Data Javascript no-postback mechanism

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,315
This week:0
All time:1,044
This week:488Up
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:2898
 
in example2.
9 years ago (Raunak Gupta)
12%Star