So you know those retarded pages where the background is static and everything else moves over it? Well I'm making one of those. My problem is I want the background to change every so often (refresh, hour, day, whatever). How would I do this?
background: url(<?php echo "$background"; ?>) no-repeat fixed center top;
The echo "$background"; may jus be echoing background, and not the value. My web server is down right now so I can't test out this theory. I know print "$background"; would output the value of background, but I'm not sure about echo.
echo, print, it doesn't matter. The value of $background will be used because it's a "double-quoted" string. By the time echo or print "see's" it, the variable has already been resolved.
Also you can run PHP on any computer. You don't need a server to test/build stuff.