title: Contact form with check boxes having troubles
body: <p>I need help with add check boxes to my contact form I have this as the html.</p>
  
  <pre><code>&lt;form action="contact.php" method="post"&gt;
  Your name&lt;br&gt;&lt;input type="text" name="cf_name"&gt;&lt;br&gt;
  Your e-mail&lt;br&gt;&lt;input type="text" name="cf_email"&gt;&lt;br&gt;
  Message&lt;br&gt;&lt;textarea name="cf_message"&gt;&lt;/textarea&gt;&lt;br&gt;
  &lt;input type="submit" value="Send"&gt;
  &lt;input type="reset" value="Clear"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And here is my php part of the code</p>
  
  <pre><code>&lt;?php
  $field_name = $_POST['cf_name'];
  $field_email = $_POST['cf_email'];
  $field_message = $_POST['cf_message'];
  
  $mail_to = 'example@example.com';
  $subject = 'Message from a site visitor '.$field_name;
  
  $body_message = 'From: '.$field_name."\n";
  $body_message .= 'E-mail: '.$field_email."\n";
  $body_message .= 'Message: '.$field_message;
  
  $headers = 'From: '.$field_email."\r\n";
  $headers .= 'Reply-To: '.$field_email."\r\n";
  
  $mail_status = mail($mail_to, $subject, $body_message, $headers);
  
  if ($mail_status) { ?&gt;
  &lt;script language="javascript" type="text/javascript"&gt;
      alert('Thank you for the message. We will contact you shortly.');
      window.location = 'contact.html';
  &lt;/script&gt;
  &lt;?php
  }
  else { ?&gt;
  &lt;script language="javascript" type="text/javascript"&gt;
      alert('Message failed. Please, send an email to help@helpme.com');
      window.location = 'contact.html';
  &lt;/script&gt;
  &lt;?php
  }
  ?&gt;
  </code></pre>
  
  <p>I need help adding groups of check boxes so I can check one box from each of the groups and it would send an email with a list of what check boxes where picked from each group. </p>