calendar
Date: 05/19/06
(PHP Community) Keywords: java
I really appreciated you guys' help last time. Here's another question.
It's easy to implement a calendar of the current month, by using date("m") and date("Y") to get current time.
How can I implement "Prev" and "Next" buttons to get previous and next month's calendar? I mean how can I associate the buttons with the correct month and year values? (I can't just use date("m")-1, coz if I click "Prev" again, it would still be the same value.)
There has to be an easy way to do this without using JavaScript or things like that, right?
I need some inspiration, or even source code.
Please help! Thanks!
Source: http://community.livejournal.com/php/451026.html