Home › Forums › Back End › Contact Form Help!! › Re: Contact Form Help!!
May 22, 2009 at 5:55 am
#57953
davesgonebananas
Member
You are having problems because you have called all your checkboxes "test" and thus the value of the variable is being overwritten.
If you instead name them "test[]" you will receive a PHP array which contains the values of the selected checkboxes. For example, if the user has marked boxes 2 and 3, you will receive the following array:
$_POST["test"] = Array ( [0] => Test2 [1] => Test3 )