title: Change Stylesheet via If in php
body: <p>At the moment i'm trying to use a stylesheet which i get through a if. but it doesn't do anything. </p>
  
  <p>here is my code at the moment. the variable $stylesheet will be variable but while testing i've setted it to normal</p>
  
  <pre><code>&lt;?php
  $stylesheet = 'normal'
  if ($stylesheet = 'small')
      {
      $style = './sitestyle/stylesheetsmall.css';
      }
  
  if ($stylesheet = 'big')
      {
      $style = './sitestyle/stylesheetbig.css';
      }
    else
      {
      $style = './sitestyle/stylesheet.css';
      }
  
  echo '&lt;link rel="stylesheet" type="text/css" href="$style"&gt;';
  ?&gt;
  </code></pre>
  
  <p>Thanks for your answers.</p>