title: Contact PHP not working
body: <p>I have never run in to this before, the temp came with no php so I tried to code a really simple one myself. The send message button seems to be a link though and does not submit. Would you be kind enough to check it out for me. Here is the HTML</p>
  
  <pre><code>&lt;form method="post" action="contact.php"&gt;
  &lt;div class="row half"&gt;
      &lt;div class="6u"&gt;
          &lt;input name="name" placeholder="Name" type="text" class="text" /&gt;
      &lt;/div&gt;
      &lt;div class="6u"&gt;
          &lt;input name="email" placeholder="Email" type="text" class="text" /&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="row half"&gt;
      &lt;div class="12u"&gt;
          &lt;textarea name="message" placeholder="Message"&gt;&lt;/textarea&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="row half"&gt;
      &lt;div class="12u"&gt;
      &lt;a href="#" class="button button-icon icon icon-envelope"&gt;Send Message&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And then my php</p>
  
  <pre><code>&lt;?php
     $name    = $_POST ['name'];
     $email   = $_POST ['email'];
     $message = $_POST ['message'];
     if(!$name || !$company || !$email)
     {
         echo "
  &lt;h2&gt;Feedback&lt;/h2&gt;
  &lt;form method='post' action='contact.php'&gt;
     Name: &lt;br /&gt;&lt;input name='name' type='text' value='$name' /&gt;&lt;br /&gt;&lt;br /&gt;
     EMail: &lt;br /&gt;&lt;input name='email' type='text' value='$email' /&gt;&lt;br /&gt;&lt;br /&gt;
     Message:&lt;br /&gt;
     &lt;textarea name='message' cols='55' rows='8'&gt;$message&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;
     &lt;input type='submit' value='Send' /&gt;
  &lt;/form&gt;
  &lt;p&gt;All fields are required&lt;/p&gt;
      ";
         exit;
     }
  $send_to = 'sean@seankonig.co.za'; // change to your email
  mail($send_to, "Name: $name" , $message, "From: $email");
  echo "Thank you for your feedback";
  ?&gt;
  </code></pre>