Saturday, April 16, 2011

wait wait

I can top that (below)



switch($month)
{
case'1':
$date = calculateenddate(1,$weakly,7,$unixtime);
break;
case '2':
$date = calculateenddate(2,$weakly,7,$unixtime);
break;
case '3':
$date = calculateenddate(3,$weakly,7,$unixtime);
break;
case '4':
$date = calculateenddate(4,$weakly,7,$unixtime);
break;
case '5':
$date = calculateenddate(5,$weakly,7,$unixtime);
break;
case '6':
$date = calculateenddate(6,$weakly,7,$unixtime);
break;
case '7':
$date = calculateenddate(7,$weakly,7,$unixtime);
break;
case '8':
$date = calculateenddate(8,$weakly,7,$unixtime);
break;
case '9':
$date = calculateenddate(9,$weakly,7,$unixtime);
break;
case '10':
$date = calculateenddate(10,$weakly,7,$unixtime);
break;
case '11':
$date = calculateenddate(11,$weakly,7,$unixtime);
break;
case '12':
$date = calculateenddate(12,$weakly,7,$unixtime);
}
return $date;

No comments:

Post a Comment

Followers