title: Select multiple checkboxes in php email form
body: <p>I'm trying to set up a simple PHP contact form for a website and I need some help modifying the PHP to list multiple items from a select menu and would appreciate the help. I'm a graphic designer, not a developer, so a lot of this is way over my head. This is the problem area here:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;form method="post" action="projectplanner.php"&gt;
  &lt;label&gt;Name*&lt;/label&gt;&lt;input class="text" name="name" placeholder="Typ hier uw naam"&gt;
  &lt;label&gt;Email*&lt;/label&gt;&lt;input class="text" name="email" type="email" placeholder="Typ hier uw email"&gt;
  &lt;label&gt;Telefoon*&lt;/label&gt;&lt;input class="text" name="telefoon" type="tel" placeholder="Telefoon of mobiel"&gt;
  &lt;label&gt;Organisatie*&lt;/label&gt;&lt;input class="text" name="organisatie" placeholder="Ik vertegenwoordig.."&gt;
  &lt;label&gt;Bestaande website (indien van toepassing)&lt;/label&gt;&lt;input class="text" name="website" placeholder="http://www"&gt;
  &lt;label&gt;Soort project&lt;/label&gt;
  &lt;input name="project[]" type="checkbox" value="huisstijl" class="check" /&gt;Huisstijl&lt;br /&gt;
  &lt;input name="project[]" type="checkbox" value="websiteontwerp" class="check"/&gt;Website ontwerp&lt;br /&gt;
  &lt;input name="project[]" type="checkbox" value="websiteontwikkeling" class="check"/&gt;Website ontwikkeling&lt;br /&gt;
  &lt;input name="project[]" type="checkbox" value="onlinemarketing" class="check-last"/&gt;Online marketing&lt;br /&gt; 
  &lt;label&gt;Beschrijving van uw project&lt;/label&gt;
  &lt;textarea class="project_text" name="beschrijving" placeholder="Een globale beschrijving. Doelstelling, publiek, concurenten?"&gt;&lt;/textarea&gt;
  &lt;label&gt;Inspiratie&lt;/label&gt;
  &lt;textarea class="project_text" name="inspiratie" placeholder="Kopieer links naar website / apps / afbeeldingen die u inspireren"&gt;&lt;/textarea&gt;
  &lt;label&gt;* 2+2= ? (Anti-spam)&lt;/label&gt;
  &lt;input name="human" placeholder="Antwoord"&gt;
  &lt;input id="submit" name="submit" type="submit" value="Verzend"&gt;
  </code></pre>
  
  <p></p>
  
  <p>PHP:</p>
  
  <pre><code>&lt;?php
  $naam = $_POST['naam'];
  $email = $_POST['email'];
  $telefoon = $_POST['telefoon'];
  $organisatie = $_POST['organisatie'];
  $website = $_POST['website'];
  $beschrijving = $_POST['beschrijving'];
  $project = $_POST['project'];
  $inspiratie = $_POST['inspiratie'];
  $from = 'From: the website'; 
  $to = 'someone@somewhere.com'; 
  $subject = 'onderwerp';
  $human = $_POST['human'];
  
  $body = 
  "Van: $name\n 
  E-Mail: $email\n 
  Telefoon: $telefoon\n 
  Organisatie: $organisatie\n 
  Website: $website\n 
  Project Soort: $project\n 
  Omschrijving: $beschrijving\n
  Inspiratie: $inspiratie";
  if ($_POST['submit'] &amp;&amp; $human == '4') {                 
      if (mail ($to, $subject, $body, $from)) { 
      print ("Dank u wel");
      /*echo '&lt;p&gt;Uw bericht is verzonden!&lt;/p&gt;';*/
  } else { 
      echo '&lt;p&gt;Oeps. Er ging iets fout. Probeer nogmaals.&lt;/p&gt;'; 
  } 
  } else if ($_POST['submit'] &amp;&amp; $human != '4') {
  /*echo '&lt;p&gt;Uw anti-spam antwoord is niet goed ingevuld.&lt;/p&gt;';*/
  }
  </code></pre>