title: timestamp within a form
body: <p>I currently have a form which inputs patient information into a database. 
  I need to obtain the exact date/time of the moment a patient arrives at Accident and Emergency and submit this datetime to the database. </p>
  
  <p>Please find the PHP code below. I don't want the date/time to be displayed within the form, I want it to automatically insert into the database when a patient arrives at A&amp;E. How do I insert datetime into the database?</p>
  
  <pre><code>&lt;?php
  $arrival = new DateTime();
  $arrivalString = $arrival-&gt;format("Y-m-d H:i:s");
  ?&gt;
  </code></pre>