Try this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>flashPUNK.ca phuck your phashon</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<?
$today = date("l");
print("$today");
if($today == "Sunday")
{
$background = "images/7.gif";
}
elseif($today == "Monday")
{
$background = "images/6.gif";
}
elseif($today == "Tuesday")
{
$background = "images/5.gif";
}
elseif($today == "Wednesday")
{
$background = "images/4.gif";
}
elseif($today == "Thursday")
{
$background = "images/3.gif";
}
elseif($today == "Friday")
{
$background = "images/2.gif";
}
else
{
$background = "images/1.gif";
}
?>
<body background="<? echo $background; ?> " leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
I'm not sure where you got the $background[$today]; from.. there isn't an array in your file..
Im also assuming that youre using the right date syntax too
Edit:
Alternatively you could use the Switch function, which is a little neater since you wont have to use so many if, elseif statements..
i.e.
$today = date("l");
switch($today) {
case 'Sunday':
$background = 'images/7.gif';
break;
case 'Saturday':
$background = 'images/6.gif';
break;
Etc..