Here's some snippets:
The Checkboxes themselves:
Code: Select all
Cake:<input type="checkbox" value="Cake" name="needs[]">
Rentals:<input type="checkbox" value="Rentals" name="needs[]">
DJ / Band:<input type="checkbox" value="DJBand" name="needs[]">
The code that's supposed to be passing them:
Code: Select all
<?php foreach($_POST['needs'] as $value) {
$needs .= "$value\n";
}
?>
Code: Select all
$needschecked = $_REQUEST["needs"];
Any help, even just a prod toward a link that might shed some light on this would be great... I don't know enough to know where I'm going wrong. Should I be using GET instead of POST? Is the captcha screwing it up without causing an error bad enough to prevent it from passing to the emailer? (I actually have some security doubts on the onsubmit function, which I didn't modify along with the rest of the code, since it was working fine and I don't want to cross-pollinate that problem with this one..)
Full code attached, (er, I thought I attached it, but I don't see it anywhere... I can post it in the body if need be, or is there something about the "upload attachment" box I'm missing?) Thanks in advance for helping me out, if anyone can spare a few minutes!