IT IS WORKING!!!
But now you can notice a tiny little detail... the background color isn't changing... I thought I had solved this by putting some extra php in, but it didn't work... can you see what I did wrong with this script? It probably has something to do with the "if" statements.
PHP Code:
</head>
<body bgcolor="<?php echo $bg;?>" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="preloadImages();">
<?php
if(!$_GET['color'])
{
$color = "green";
}
else
{
$color = $_GET['color'];
}
if
($color = "red")$bg = "#860e0e";
if
($color = "green")$bg = "#215712";
if
($color = "blue")$bg = "#1a1759";
?>
This is the first bit of code of my page and I know that the problem is in there somewhere...
Malb