title: Bootstrap contact form
body: <p>**So I am using this tutorial <a href="http://www.html5templatesdreamweaver.com/bootstrap-form.html" rel="nofollow">http://www.html5templatesdreamweaver.com/bootstrap-form.html</a></p>
  
  <p>I get emails from my website when I test the form, but the email doesn't contain the form info. It says "inquiry" </p>
  
  <p>Here is my </p>
  
  <pre><code>&lt;meta charset="UTF-8"&gt;
  &lt;title&gt;Untitled Document&lt;/title&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
  &lt;title&gt;BOTW v.4&lt;/title&gt;
  &lt;link href="css/bootstrap.min.css" rel="stylesheet"&gt;
  &lt;link href="css/custom.css" rel="stylesheet"&gt;
  &lt;script src="js/respond.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Here is my form</p>
  
  <pre><code>               &lt;fieldset&gt;                      &lt;form name="enq" method="post" action="email/" onsubmit="return validation();"&gt;
                      &lt;form role="form"&gt;
                    &lt;div class="form-group"&gt;
                      &lt;label for="exampleInputName1"&gt;Name&lt;/label&gt;
                      &lt;input type="name" class="form-control" id="exampleInputName1" placeholder="Enter name"&gt;
                    &lt;/div&gt;
                      &lt;form role="form"&gt;
                    &lt;div class="form-group"&gt;
                      &lt;label for="exampleInputEmail1"&gt;Email address&lt;/label&gt;
                      &lt;input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email"&gt;
                    &lt;/div&gt;
                      &lt;form role="form"&gt;
                    &lt;div class="form-group"&gt;
                      &lt;label for="exampleInputMessage1"&gt;Message&lt;/label&gt;
                      &lt;textarea class="form-control" input type="message" rows="3" placeholder="Enter message"&gt;&lt;/textarea&gt;
                    &lt;/div&gt;
  
                      &lt;div class="actions"&gt;
                      &lt;input type="submit" value="Send Your Message" name="submit" id="submitButton" class="btn btn-info pull    -right" title="Click here to submit your message!" /&gt;
                      &lt;/div&gt;  
                      &lt;/form&gt;     
                 &lt;/fieldset&gt;           
  </code></pre>
  
  <p>**And finally my Javascript</p>
  
  <pre><code>&lt;script src="http://code.jquery.com/jquery-latest.min.js"&gt;&lt;/script&gt;
  &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="email/validation.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>
   </p>
  
  <p>Anyone know what I am missing?</p>
  
  <p>Edit -  and my php </p>
  
  <pre><code>&lt;?php
   if(isset($_POST['submit']))
   {
      $name = $_POST['name'];
      $email = $_POST['email'];
      $query = $_POST['message'];
      $email_from = $name.'&lt;'.$email.'&gt;';
  
   $to="bryanontheweb@yahoo.com";
   $subject="Enquiry!";
   $headers  = 'MIME-Version: 1.0' . "\r\n";
   $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
   $headers .= "From: ".$email_from."\r\n";
   $message="   
  
           Name:
           $name     
           &lt;br&gt;
           Email-Id:
           $email        
           &lt;br&gt;
           Message:
           $query        
  
     ";
      if(mail($to,$subject,$message,$headers))
          header("Location:../contact.php?msg=Successful Submission! Thankyou for contacting us.");
      else
          header("Location:../contact.php?msg=Error To send Email !");
          //contact:-your-email@your-domain.com
   }
  ?&gt;
  </code></pre>