Calendar In PHP - Online Code


The skt_calendar( ) function prints out a month's calendar, similar to the Unix cal program using only PHP and no JavaScript.

Source Code

function skt_calendar($month,$year) {
	list($this_month,$this_year,$this_day) = split(',',strftime('%m,%Y,%d'));
	$day_highlight = (($this_month == $month) && ($this_year == $year));

... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


No comment yet. Be the first to post a comment.