cant seem to find where my problem is!! help anyone?
i have a bunch of checkboxs and im trying to send them via email to a client. the checkboxs are in a form and here is the code im using to add them together. if anyone could tell me what im doing wrong it would be much appreciated!
$headings = "";
for ($i=0; $i<count($POST["headings"]); ++$i) {
if($i == (count($POST["headings"])))
{
$headings .= $POST["headings"][$i];
}
else
{
$headings .= $POST["headings"][$i].", ";
}
}