Ok, thats alot easier, thanks. I was trying the print () command on each stylesheet.
What if I want to have a stylesheet for the rest of the days of the year, and not just those days. I've had a tinker with the else command:
<?php
$today = getdate();
if (($today['mon'] == '12') && ($today['mday'] == '25')) {
$stylesheet = 'christmas.css';
}
if (($today['weekday'] == 'Thursday') && ($today['mday'] > 21) && ($today['mon'] == '11')) {
$stylesheet = 'thanksgiving.css';
}
else {
$stylesheet = 'comstyle.css';
}
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$stylesheet."\" />";
?>
but that doesn't like me, although I have tried it with else () aswell, that didn't like me either
Thanks
ravingcommie