title: How to send this with php mail function
body: <p>I would like all additional input of benodigheden and ingrediënten are also sent. However, I do not know how you could pick up the cost of additional input. I hope somebody can help me.</p>
  
  <p>This is my code</p>
  
  <pre><code>&lt;div id="versturen"&gt;
          &lt;?php
          if(isset ($_POST['Verzenden']))
          {
              $name = $_POST['Naam'];
              $Email = $_POST['Email'];
              $opmerking = $_POST ['Opmerking'];
              $seizoen = $_POST ['Seizoen'];
  /*-------------------------------------------------------------------------------------*/           
              /*---benodigheden---begin---*/ 
              $benodigheden1 = $_POST ['benodigheden1'];
              /*---benodigheden---eind---*/ 
              /*---ingrediënten---begin---*/ 
              $ingrediënten1 = $_POST ['ingrediënten1'];
              /*---ingrediënten---eind---*/ 
              $stappenplan = $_POST['stappenplan'];
  /*-------------------------------------------------------------------------------------*/
              $opmerking = $_POST ['Opmerking'];
  /*-------------------------------------------------------------------------------------*/   
              $subject = 'GERECHT INDIENEN' . $seizoen . '' ; 
              $to = 'wross@live.nl, wvanhees35@hotmail.com';
              $gerecht = 'BENODIGHEDEN &lt;br /&gt;' . $benodigheden1 .  '&lt;br /&gt; NGREDIËNTEN &lt;br /&gt;'    . $ingrediënten1 .  '&lt;br /&gt; STAPPENPLAN &lt;br /&gt;'. $stappenplan . '&lt;br /&gt;';
  
  
  
  
              $message = ''.$gerecht . $opmerking . ' Dit gerecht is ingestuurd door ' . $name .  ' en is ingediend via ' .$Email; 
  
              mail($to, $subject, $message, "From:" . $Email)
          ?&gt;
          &lt;div id="testing"&gt;&lt;br /&gt;&lt;h2&gt;Uw mail is verzonden&lt;/h2&gt;&lt;/div&gt;
          &lt;?php
          header("Refresh: 3; URL=../index.php");
          }
          else{
          ?&gt;
          &lt;form action="" method="post"&gt;
              &lt;legend&gt;Neem contact op&lt;/legend&gt;
              &lt;table&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;label for="Naam"&gt;Naam: &lt;/label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;input type="text" id="Naam" name="Naam" placeholder="Naam" required="required" /&gt;
                      &lt;/td&gt; 
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;label for="Email"&gt;Email :&lt;/label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;input type="email" id="Email"name="Email" placeholder="Email" required="required" /&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;label for="Seizoen"&gt;Seizoen: &lt;/label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;                                                                  
                          &lt;select name="Seizoen" id="Seizoen" required&gt;
                          &lt;option value=""&gt;Kies hier je seizoen&lt;/option&gt;
                              &lt;option value="Lente"&gt;Lente&lt;/option&gt;
                              &lt;option value="Zomer"&gt;Zomer&lt;/option&gt;
                              &lt;option value="Herfst"&gt;Herfst&lt;/option&gt;
                              &lt;option value="Winter"&gt;Winter&lt;/option&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td colspan="2"&gt;
                          &lt;hr /&gt;  
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;label for="benodigheden1"&gt;Benodigheden:&lt;/label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;input type="text" id="benodigheden1"name="benodigheden1" placeholder="Benodigheden" required="required" /&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;label for="ingrediënten1"&gt;Ingrediënten:&lt;/label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;input type="text" id="ingrediënten1"name="ingrediënten1" placeholder="Ingrediënten" required="required" /&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;label for="stappenplan"&gt;Stappenplanm:&lt;/label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;textarea name="stappenplan" id="stappenplan" cols="40" rows="5" placeholder="Stappenplan" required="required" /&gt;&lt;/textarea&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td colspan="2"&gt;
                          &lt;hr /&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;label for="Opmerking"&gt;Opmerking:&lt;/label&gt;
                          &lt;/td&gt;
                      &lt;td&gt;
                          &lt;textarea name="Opmerking" id="Opmerking" cols="40" rows="5" placeholder="Opmerking" required="required" /&gt;&lt;/textarea&gt;
                          &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;div class="submit"&gt;&lt;input type="submit" value="Verzenden" name="Verzenden" /&gt;&lt;/div&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
          &lt;/form&gt; 
          &lt;?php
              };
          ?&gt;              
  
          &lt;/div&gt;
  </code></pre>
  
  <p>Here is a link to <a href="https://jsfiddle.net/vtu8wn1c/1/" rel="nofollow">JSFiddle</a>. 
  He does not address here all my code (just as here).</p>