This seems like a popular problem but I just couldn't figure it out from previous posts.
I have a form...
<form action="processa.php" method="post">
Your Name:<input name="name" type="text">
Email:<input name="email" type="text">
<br>
Choose your services:
<input name="services[A]" type="checkbox"> A
<input name="services[B]" type="checkbox"> B
<input name="services[C]" type="checkbox"> C
<input name="services[D]" type="checkbox"> D
<input name="services[E]" type="checkbox"> E
<input name="services[F]" type="checkbox"> F
<p class="smalltextc">Project Decsription</p>
<p>Go crazy.</p>
<textarea name="description" cols="42" rows="12"></textarea>
<input type="SUBMIT" name="Submit">
</form>
With some PHP...
<?php
$to = "desk@claytonbellmor.com";
$subject = "Project Quote";
$name = $_REQUEST['name'];
$email = $_REQUEST['email'] ;
$message = $_REQUEST['description'] ;
$headers = "From: $email";
[put magical php here] <-- Get checked boxes and include it in the email sent!!!! If only I knew how.
$sent = mail($to, $subject, $message, $headers) ;
if($sent)
{print "Good Job!"; }
else
{print "Kill yourself!"); }
?>
How do I include the checked boxes (in array services) to be included in the sent email!? I have no idea.
Thanks for any help!