How do I set this up so that I can manipulate $backgroundcolor = "#00FFFF"; on another .php file?
Initially I just want to be able to change the value of the $backgroundcolor ="#00FFFF"; From another form that is hrefed to this form (style.php) based on user input.
I Tried this on this form so that I could hopefully give $backgroundcolor different values: $backgroundcolor = " ";
Then I used another .php form that is hrefed to this style.php script to call $backgroundcolor ="some different hex color with no results";
In fact all I saw was the output of the value #0033FF, but I don't want the output, I want the new value #0033FF to be the background color?
<?php header("Content-type: text/css");
$backgroundcolor = "#00FFFF ";
$textcolor = " #0033FF";
?>
body {
background:<?php echo $backgroundcolor?>;
color:<?php echo $textcolor?>;
}