title: How can I add html to this php echo won't work
body: <p>This is really annoying, echo won't work and putting the html outside the php won't work either, I need help on this badly because I'm trying to make an announcement system.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  
  
  echo $_POST['aapassword'];
  $aapass = "xs4qxt3ggs4o3";
  
  if ($password == $aapass) {
      &lt;&lt;&lt;END
          &lt;form action="anouncements.php" method="post"&gt;
          Add your announcement: &lt;input type="input" name="aaannouncement"&gt;
          &lt;input type="submit" name="submit" value="Submit"&gt;                                  
          
          END;
  } else {
  echo("incorrect password");
  }
  
  
  &lt;&lt;&lt;END
  &lt;!doctype html&gt;
  &lt;html&gt;
  &lt;body&gt;
  &lt;form action="announcements/add-announcement.php" method="post"&gt;
      Password:  &lt;input type="password" name="aapassword" /&gt;&lt;br /&gt;
      &lt;input type="submit" name="submit" value="Submit" /&gt;
      
      &lt;h1&gt;Hi&lt;/h1&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  END;
  
  ?&gt;</code></pre>
  </div>
  </div>
  </p>