title: PHP echo H1 depending on page
body: <p>How can i echo a h1 depending on the variable set on the page? The script below is breaking my page. Looks like my syntax is incorrect  </p>
  
  <pre><code>&lt;header  role="banner"&gt; 
  
       &lt;?php
  
         if($page =="home_page")    {echo "&lt;h1&gt;" 'Mountain ' "&lt;/h1&gt;"; }                               
      else if($page =="parts")    {echo "&lt;h1&gt;" 'parts ' "&lt;/h1&gt;"; }
  
      else if($page =="cars")    {echo "&lt;h1&gt;" 'cars ' "&lt;/h1&gt;"; }
  
            ?&gt;
  
  &lt;/header&gt;
  </code></pre>
  
  <p>Many thanks,
  P</p>