title: How to connect a HTML page to MySQL
body: <p>How to connect a html page to MySQL for example, i want to use <code>&lt;?php echo $_POST['username']; ?&gt;</code> in a HTML file. How do i connect to MySQL. 
  I have tryed this: </p>
  
  <pre><code>&lt;?php
  $con=mysql_connect("HOST", "USERNAME", "PASSWORD");
  mysql_select_db("DATABASE"); 
  ?&gt;
  </code></pre>
  
  <p>But it did not work.</p>