![]() |
Simple Calendar using PHP
There are times when we require to put a calendar in some web appplication of ours,writing the code to generate a calendar from scratch is painstaking and waste of time. So PEAR comes to rescue with its Calendar package. The package gives a ton of features, below you'll find a simple program to generate the calendar of the present month.
Code: PHP
The calendar package also contains a Decorator class, which provides a decorator to help with generating URLs (for example next / prev URLs). Checkout an example below. Code: PHP
|
| All times are GMT +5.5. The time now is 03:08. |