...

View Full Version : Calendar using PHP?



denhamd2
04-04-2007, 01:12 PM
Hi guys,

Is it possible to make a calendar in PHP rather than hard-coding it in HTML? For example, I'm looking to make one for June 2007 and on each line I'd like to have the day, the date and then a checkbox containing the date, so for example:

<input type="checkbox" name="date" value="01062007" /> Tues. 1st


Is it possible to do this dynamically using PHP?

Thanks in advance

Nightfire
04-04-2007, 02:51 PM
Yes.

Take a look at the examples on date() (http://php.net/date) There's one in there that does a basic calendar



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum