title: Bootstrap Form Null
body: <p>I've tried to fix this the past hour, but it won't give a good result.
  The problem is that I've got a new bootstrap theme, I'm bussy with building my old system into the new theme. The only thing is that when I push on the submit It won't do anything.
  If I try to check the variables with var_dump it gives me null. The only problem is that I don't know why the form is wrong.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;form method="POST" class="form-horizontal"&gt;
  &lt;!-- Username --&gt;
    &lt;div class="form-group"&gt;
      &lt;label class="control-label col-lg-3"&gt;Gebruikersnaam&lt;/label&gt;
      &lt;div class="col-lg-9"&gt;
        &lt;input type="text" class="form-control" name="username" placeholder="Gebruikersnaam"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;!-- Password --&gt;
    &lt;div class="form-group"&gt;
      &lt;label class="control-label col-lg-3"&gt;Wachtwoord&lt;/label&gt;
      &lt;div class="col-lg-9"&gt;
        &lt;input type="password" class="form-control" name="password" placeholder="Wachtwoord"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col-lg-9 col-lg-offset-3"&gt;
      &lt;input type="submit" class="btn btn-danger" value="Inloggen"&gt;
      &lt;input type="reset" class="btn btn-default" value="Reset"&gt;
    &lt;/div&gt;
    &lt;br /&gt;
  &lt;/form&gt;
  &lt;div class="widget-foot"&gt; Nog niet geregistreerd? &lt;a href="#"&gt;Registreer hier&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p><strong>PHP</strong></p>
  
  <pre><code>/* Start of the script.. */
  if(isset($_POST['submit']))
  {
   global $sFoutmelding;
  
    $stringaUser   =  trim($_POST['username']);
    $stringaPass   =  trim($_POST['password']);
    $smallUser     =  strtolower($stringaUser);
    $hashPass      =  hash("SHA512", $stringaPass);
  
      //Begin of the prepared statement.
         $stmt     = $mysqli-&gt;prepare("SELECT gebruikersnaam,wachtwoord FROM users WHERE gebruikersnaam = ?");
         $stmt-&gt;bind_param('s', $smallUser);
       $stmt-&gt;execute();
       $stmt-&gt;store_result();
       $stmt-&gt;bind_result($arrayUserName, $arrayUserPass);
       $stmt-&gt;fetch();
       $stmt-&gt;close();
      //End of the prepared statement.
  
    if(empty($stringaUser))
    {
      $sFoutmelding[] = 'U hebt geen gebruikersnaam opgegeven!';
    }
    if(empty($stringaPass))
    {
      $sFoutmelding[] = 'U hebt geen wachtwoord opgegeven!';
    }
    if($smallUser != $arrayUserName)
    {
      $sFoutmleding[] = 'Uw gebruikersnaam of wachtwoord klopt niet!'; 
    }
    if($hashPass != $arrayUserPass)
    {
      $sFoutmelding[] = 'Uw gebruikersnaam of wachtwoord klopt niet!';
    }
  }
  </code></pre>
  
  <p>Thank you for helping^^</p>