Calendar In PHP - Online Code

Description

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

Source Code

<?php
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));

	list($prev_month,$pr
... (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.




Comments

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