Simple (but not too simple:) calendar in php
Posted: Sat Aug 26, 2006 5:02 am
I woud like to have on my page simple calendar with two major properties:
1) it shoud allow quickly change view to some year or month AND
2) each date (number on calendar) should just pass me (to the next page) info about chosen date, so I could use this date for further processing (SQL...).
I do not need many of other functions (which I found during searching on web) which such a calendar could have - adding notes to particular date ...
maybe something like this
*************
<< < August > >>
M 1 2 3 4 5 6 7
T x x x x x x x
W x x x x x x x
....
*************
<< - go back one year
< - go back one month
Maybe for year there should be something faster - dropdown menu for year
Any other idea is welcome!
1) it shoud allow quickly change view to some year or month AND
2) each date (number on calendar) should just pass me (to the next page) info about chosen date, so I could use this date for further processing (SQL...).
I do not need many of other functions (which I found during searching on web) which such a calendar could have - adding notes to particular date ...
maybe something like this
*************
<< < August > >>
M 1 2 3 4 5 6 7
T x x x x x x x
W x x x x x x x
....
*************
<< - go back one year
< - go back one month
Maybe for year there should be something faster - dropdown menu for year
Any other idea is welcome!