title: Putting html inside PHP
body: <p>So I was wondering if its possbile to put a html code inside PHP code</p>
  
  <p>I have this nice login page for html but I'm using PHP to help store the username and password. </p>
  
  <p>I want use that login page I have for html with the PHP code I'm using. </p>
  
  <p>I tried searching and people said use echo but for some reason it doesn't work for me.</p>
  
  <p>Any help is appreciated. </p>
  
  <p>PHP Code: </p>
  
  <pre><code>&lt;?php
     require('config.php');
  
     if(isset($_POST['submit']))
     {
       $user = mysql_escape_string($_POST['user']);
       $pass = mysql_escape_string($_POST['pass']);
  
       $check = mysql_query("SELECT * FROM `users` WHERE `user` = '$user' AND `pass` = '$pass'");
       if(mysql_num_rows($check) &gt;= 1){
       echo "Success";
       exit();
     }
    else{
  
    echo "Wrong password";
    }
   }
   else{
    &lt;&lt;&lt;&lt;add html code here&gt;&gt;&gt;
     }
  ?&gt;
  </code></pre>
  
  <p>HTML Code:</p>
  
  <pre><code>&lt;form action="Home.html" method="POST"&gt;
  &lt;div class="container"&gt;
  &lt;label&gt;&lt;b&gt;Username&lt;/b&gt;&lt;/label&gt;
  &lt;input type="text" placeholder="Enter Username" name="user" required&gt;
  
  &lt;label&gt;&lt;b&gt;Password&lt;/b&gt;&lt;/label&gt;
  &lt;input type="password" placeholder="Enter Password" name="pass" required&gt;
  
  &lt;button type="submit"&gt;Login&lt;/button&gt;
  
  &lt;/div&gt;
  
  &lt;/form&gt; 
  </code></pre>