title: Submit button for my contact form is not submitting and redirecting
body: <p>I'm working on my second website and throughout creating this one and my first the people here on StackOverflow have been an amazing help.
  I can just browse and find almost anything I wan't to know.
  99% of problems I've had, I fixed with answers I've read on here.
  So first of thank you all so much!</p>
  
  <p>This is the first time I'm posting something because I'm not able to find the specific answer for my code.
  There are people one here with the same problems but when I look at their code I'm just lost.
  I know html a fair bit by now. It's the php that I'm clueless about.
  I'm not looking for something fancy, I'm just trying to create a simple contact form.</p>
  
  <p>So here is my question and code, I hope some of you are able to help me.</p>
  
  <p>I used an PHP code from a youtube tutorial and it's deadeasy (as said before: first time PHP) yet I can't get it to work. Although I'm doing everything the same as the man in the clip. He shows his is working so I'm extremely curious as to way mine is not?</p>
  
  <p>My form does not 'send' and after clicking the submit button I don't get the 'thank you' line.</p>
  
  <p>here is the html:</p>
  
  <pre><code>&lt;form method="post" action="contactform" name="contactform" id="contactform"&gt;
  
              &lt;ol&gt;
                  &lt;li&gt;
                      &lt;label for="voornaam"&gt;Voornaam&lt;/label&gt;
                      &lt;input type="text" name="voornaam" /&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;label for="achternaam"&gt;Achternaam&lt;/label&gt;
                      &lt;input type="text" name="achternaam" /&gt;
                  &lt;/li&gt;
  
                  &lt;li&gt;
                      &lt;label for="telefoon"&gt;Telefoon Nummer&lt;/label&gt;
                      &lt;input type="text" name="telefoon" /&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;label for="email"&gt;E-mail Adres&lt;/label&gt;
                      &lt;input type="text" name="email" /&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;label for="bericht"&gt;Type hier je bericht&lt;/label&gt;
                      &lt;textarea name="bericht"&gt;&lt;/textarea&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;input name="submit" type="submit" value="submit" /&gt;
                      &lt;input name="reset" type="reset" value="reset" /&gt;                    
                  &lt;/li&gt;
  
              &lt;/ol&gt;
  
              &lt;/form&gt;
  </code></pre>
  
  <p>and the PHP:</p>
  
  <pre><code>&lt;?php
  
  $voornaam = $_POST ['voornaam'];
  $achternaam = $_POST ['achternaam'];
  $telefoon = $_POST ['telefoon'];
  $email = $_POST ['email'];
  $bericht = $_POST ['bericht'];
  
  $to = "felicevancuyk@gmail.com";
  $subject = "dkl groep bericht";
  
  mail ($to, $subject, $bericht, "From " . $voornaam . $achternaam . $telefoon};
  echo "Bedankt. We nemen zo snel mogelijk contact met u op.";
  
  ?&gt;
  </code></pre>