title: The config.php doesn't seem to work
body: <p>In the home.html file, I have a div that when it is clicked it will show the login form to be filled by the user who want to login. After filling the form, the config of the form should direct it back to the home.html file. </p>
  
  <p>The problem I encountered is, When I tried to fill the form of username and password field and submit that, the browser just stop blank in the config-haslogin.php, not direct it back to the home.html file. </p>
  
  <p>The result is just the same when I tried to fill it with the wrong username and password. </p>
  
  <p><strong>config-haslogin.php</strong></p>
  
  <pre><code>&lt;?php @session_start();
  $_SESSION['id']= 0;
  ?&gt;
  
  
  &lt;?php
  error_reporting(E_ALL ^ E_NOTICE);      
  mysql_connect("mysql.com","usename","password") or die("cannot connect");
  mysql_select_db("mytable")  or die("Fail");
  
  $myemail= $_POST['email'];
  $mypassword= $_POST['password'];
  
  $sql= "SELECT * FROM user WHERE email='".$myemail."' and password='".$mypassword."'";
  $result=mysql_query($sql);
  $count=mysql_num_rows($result);
  if($count==1 ) 
  {
  echo "Login successful";
  echo '&lt;script&gt;window.location="index.html";&lt;/script&gt;';
  }
   ?&gt;
  </code></pre>