title: How do you change a CSS link document with PHP if/else? Displays no error message
body: <p>Trying to set up templates on a site I am working on, and I want to change the linked stylesheet document instead of using PHP within the CSS. Would this be possible? Thanks.</p>
  
  <pre><code>&lt;?php
  
      require 'includes/templates.php';
  
      if($_COOKIE['template'] == $blocky) {
  
          echo "&lt;link rel="stylesheet" href="/testpages/css/blocky.css"&gt;";
  
      }
  
      else {
  
          echo "&lt;link rel="stylesheet" href="/testpages/css/default.css"&gt;";
  
      }
  
  ?&gt;
  </code></pre>