Login   Register  
PHP Classes
elePHPant
Icontem

File: example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Christoff Truter  >  PHP Calendar  >  example2.php  >  Download  
File: example2.php
Role: Example script
Content type: text/plain
Description: Example using calendar inside a form
Class: PHP Calendar
Generate month calendar that can be used in forms
Author: By
Last change:
Date: 7 years ago
Size: 469 bytes
 

Contents

Class file image Download
<html>

<head>

<title>Calendar Example 2</title>

<script language="javascript" src="js/calendar.js"></script>

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

</head>

<body>

<form method="POST">

<?

error_reporting
(E_ALL);

include 
"includes/PHP4/calendar.php";

$calendar = new Calendar("example2");
$calendar->inForm true;
echo 
$calendar->Output();

?>

<input type="submit" />

</form>

</body>

</html>