I have this line of code in header.php which allows a website owner to specify a color scheme through a configuration file.
Code: Select all
<link rel="stylesheet" type="text/css" href="<?php echo $cbvurl ?>styles/<?php echo $cbvstyle ?>.css" />1. In most pages, the style displays properly. In others, no style at all.
View Source shows this:
Code: Select all
<link rel="stylesheet" type="text/css" href="styles/.css" />Code: Select all
<?php echo $cbvurl ?>All pages have the .php file extension and headers are called by include statement. (XAMPP)