Hi, Im hoping thi is an easy question but Im quite new to PHP. All the tutorials Ive found only show how to print the current month. Any way here's my prob:
I need to create a table that shows all twelve months starting from the current month (ie. Sep, Oct, Nov, Dec, Jan, etc...). Is there an easy way to do this in PHP?
Thanks
Help needed with calendar function please
Moderator: General Moderators
- andyhoneycutt
- Forum Contributor
- Posts: 468
- Joined: Wed Aug 27, 2008 10:02 am
- Location: Idaho Falls
Re: Help needed with calendar function please
You should probably start by taking a look at the date/time functions in php.
Re: Help needed with calendar function please
There are lots and lots of script snippets, but it depends on what you want to do, just display the calendar, pick a date to be used for data input, or actually contain events. Use Google with keywords like php calendar scripts. You will find hundreds of entries like this one: http://www.easyphpcalendar.com/