If you want to have some logic to which CSS file is chosen, you will have to put a variable within your head statement since this is where the style sheet is declared...
print '<link rel="stylesheet" type="text/css" href="'.$cssfile.'" media="screen, tv, projection" />';
Instead of making the header an include file, I find it more advantageous to calling its text as a function instead, like...
require("lib/markup.inc.php"); // contains printMaintags function
printMaintags($websitename, $cssfile); // print statement that passes cssfile into
// the link stylesheet declaration
Then you can add case logic to it for multiple styles...
if (isset($_GET['x']) {
switch ($_GET['x']) {
case 'a':
$cssfile=astyle.css;
break;
case 'b':
$cssfile=bstyle.css;
break;
default:
die("bad x option passed");
}
}
printMaintags("MyWebsite",$cssfile);
Hope this answers your question.