title: Parse Error. unexpected end of file. (PHP)
body: <p>Here is my code: </p>
  
  <pre><code>    &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;
          &lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;?php
              $username = $_POST['username'];
              $password = $_POST['password'];
  
              if (($username=="x")AND($password=="y"))
              {
                  echo "You are logged in as".$username.";
              }
          ?&gt;
      &lt;/body&gt; 
  &lt;/html&gt;
  </code></pre>
  
  <p>I get a parse error:</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected end of file, expecting variable
    (T_VARIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN)
    on line 17</p>
  </blockquote>