I currently use this php code of few lines to display text based on the day of week.
PHP Code:
$today = date("l");
switch ($today) {
case "Monday" :
$today = $monday;
$todaylink = $mondaylink;
break;
case "Tuesday" :
$today = "$tuesday";
$todaylink = $tuesdaylink;
break;
case "Wednesday" :
$today = $wednesday;
$todaylink = $wednesdaylink;
break;
case "Thursday" :
$today = "$thursday";
$todaylink = $thursdaylink;
break;
case "Friday" :
$today = "$friday";
$todaylink = $fridaylink;
break;
case "Saturday" :
$today = $saturday;
$todaylink = $saturdaylink;
break;
case "Sunday" :
$today = "$sunday";
$todaylink = $sundaylink;
break;
}
echo $today;
i want to change this to the day of the month??? is this possible with some php code and javascript modifications here and there.
Bookmarks