title: HTML/PHP Form - Input Type "Date"
body: <p>i am struggling to pull through a "Date" input type on my php form processor to email.
  I've tried various coding but cannot get the value to show on email :-(</p>
  
  <p>everything else works - assistance would be greatly appreciated!</p>
  
  <pre><code>$name = $_POST['name'];
  $visitor_email = $_POST['email'];
  $reference = $_POST['reference'];
  $date = $_POST['date'];
  $amount = $_POST['amount'];
  
  $email_from = 'my email here';
  $email_subject = "Online Payment Notification";
  $email_body = "You have received an online payment notification from $name.\n".
  "please see details below:\n
  
  Name: $name
  Email: $visitor_email
  Reference#: $reference
  Date: $date
  Amount: £$amount
  ";
  
  $to = "my email here";
  $headers = "From: $email_from \r\n";
  $headers .= "Reply-To: $visitor_email \r\n";
  mail($to,$email_subject,$email_body,$headers);
  </code></pre>