Zend - The PHP Company




Code Gallery: webweary


webweary Calendar  

Type: code fragment
Added by: webweary
Entered: 06/06/2002
Last modified: 06/12/2001
Rating: - (fewer than 3 votes)
Views: 5990
This is just an enhancement to a nice little calendar script written by Ajay Kumar Mannam (posted here at code gallery). I added the ability to walk through the calendar by month, backwards and forwards. And it indicates the current day by highlighting that day's cell. Fixed a bug where the year 2000 was hardcoded - now if no parameters are passed to it, will give you the current month's calendar. I'm currently successfully using this script, with some database mods for event tracking, as a module for php-nuke.




Search