View Review Details

Book:   PHP Hacks
Subject:   bugfixes in cal.php (calendar script)
Date:   2006-12-20 11:34:15
From:   Alexander Naumann
Rating:  StarStarStarStarStar

I really like the calendar-script in 'PHP Hacks' (O'Reilly) in which I fill the daycells with information from a database. You can find the script with some necessary bugfixes in . The paging from year to year didn't work properly (at least not when I tried it). One variable was misspelled and one was not used at all.
The only thing which I changed in the view was that the weeks now start on Monday. In the download-file the old code is commented.

Have fun !