title: Parse error: syntax error, unexpected T_ELSEIF
body: <p>Doing some very basic coding on codeacademy and this has been bugging me for over an hour now.
  What is possibly wrong with this code that it is displaying the error " <strong>Parse error: syntax error, unexpected T_ELSEIF on line 12 "</strong></p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Our Shop&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;p&gt;
        &lt;?php
          $items = 10;    // Set this to a number greater than 5!
          if ($items &gt; 5) {
            echo "You get a 10% discount!"; }
            else { echo "You get a 5% discount!";
            } elseif ($items == 1) {
                echo "Sorry, no discount!";
            }
  
  
        ?&gt;
      &lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>