title: MySQL db not updating from form with php processing
body: <p>Using the code</p>
  
  <pre><code># the data we want to insert
  $data = array($first_name, $last_name, $email_from, $telephone, $dateofbirth, $addresslone, $addressltwo, $townnm, $countynm, $typeapp, $issubscribed);
  $STH = $dbh-&gt;prepare("INSERT INTO members (fname, sname, email, phone, dob, addressl1, addressl2, town, county, type, subscribed) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
  $STH-&gt;execute($data);
  
  
  ?&gt;
  &lt;!--&lt;!DOCTYPE html&gt;
  &lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;&lt;body&gt; commented out during testing --&gt;
  
  Thank you for contacting us  We will be in touch with you very soon.
  
  &lt;!-- &lt;/body&gt;&lt;/html&gt; --&gt;
  </code></pre>
  
  <p>The user is presented with the success message: </p>
  
  <blockquote>
    <p>Thank you for contacting us  We will be in touch with you very soon.</p>
  </blockquote>
  
  <p>There are no php errors recorded.</p>
  
  <p>This is to insert into this database <img src="https://i.stack.imgur.com/PxQG4.png" alt="MQL columns"></p>
  
  <p>Error reporting is in the form of the PDO try catch:</p>
  
  <pre><code>catch(PDOException $e)
      {
      echo $e-&gt;getMessage();
      }
  </code></pre>
  
  <p>Despite it looking as if it is working perfectly, however, the database seems unable to receive updates. :/</p>