title: PHP Form doesn't send data to database
body: <p>I'm struggling for two days with this form issue. The form does everything that it has to, except for putting the data in mysql database.</p>
  
  <p>I'm working in a Wordpress installation with Twitter Bootstrap.</p>
  
  <p>Here's the form page:</p>
  
  <pre><code>&lt;form class="form-inline" role="form" action="../process.php" method="post"&gt;
        &lt;div class="form-group"&gt;
          &lt;label class="sr-only" for="email"&gt;E-Mail&lt;/label&gt;
          &lt;input type="email" name="email" class="form-control" id="email" placeholder="E-Mail"&gt;
        &lt;/div&gt;
        &lt;div class="form-group"&gt;
          &lt;label class="sr-only" for="voornaam"&gt;Voornaam&lt;/label&gt;
          &lt;input type="text" name="voornaam" class="form-control" id="voornaam" placeholder="Voornaam"&gt;
        &lt;/div&gt;
        &lt;div class="form-group"&gt;
        &lt;button type="submit" name="submit" class="btn btn-default"&gt;Schrijf me in!&lt;/button&gt;
        &lt;/div&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>And here's the process.php:</p>
  
  <pre><code>&lt;?php
  //get the form elements and store them in variables
  $voornaam=$_POST["voornaam"];
  $email=$_POST["email"];
  
  //establish connection
  $con = mysql_connect("localhost","user","pasw","db"); //actual names in my code
  //on connection failure, throw an error
  if(!$con) {
      die('Could not connect: '. mysql_error());
      }
  
  $sql="INSERT INTO 'mailclients' ( 'email' , 'voornaam' ) 
  VALUES ( '$email','$voornaam' )";
  mysql_query($con,$sql);
  
  //Redirects to the specified page
  header("Location: /nieuwsbrief-bedankt/");
  ?&gt;
  </code></pre>
  
  <p>I hope someone can help me out here! Thanks in advance.</p>
  
  <p>Thomas</p>