Hi, I could really use some help here. I have an html form, when viewer clicks submit, it sends data to php file for processing, and then from there, an email is sent with data sent from the initial html form. Works well for all of it, except with the checkboxes. I would like the viewer to be able to click any combination of boxes and have them pass to the php page, and then get sent in the email. I have been reading the forums, but find myself confused. So, I am asking for help! I don't know if I should be using a join() function or an implode() function (neither of which I am really familiar with). Here is the stripped down basic code:
HTML PAGE
<label>
<input type="checkbox" name="Language[]" value="English"> English</label> <br>
<label>
<input type="checkbox" name="Language[]" value="Spanish"> Spanish</label> <br>
<label>
<input type="checkbox" name="Language[]" value="Dutch"> Dutch</label> <br>
<label>
<input type="checkbox" name="Language[]" value="Russian"> Russian</span></label>
PHP PAGE
<?php
// get posted data into local variables
$EmailFrom = "Little old Me";
$EmailTo = "me@yahoo.com";
$Subject = "Form for Checkboxes";
$Language = Trim(stripslashes($_POST['Language']));
// prepare email body text
$Body = "";
$Body .= "Checkbox Test";
$Body .= "\n";
$Body .= $Language;
$Body .= "\n";
// send email
$success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>");
?>
Again,