learning110
04-24-2005, 02:01 PM
I'v looked at several examples but cant seem to get the check boxes to transfer their values.
in my html i have
<INPUT type = "CHECKBOX" CHECKED = "checked" value = "1" name="test[]">
<INPUT type = "CHECKBOX" CHECKED = "checked" value = "2" name="test[]">
<INPUT type = "CHECKBOX" CHECKED = "checked" value = "3" name="test[]">
in my php i have
$retrieveno=$_post['test'];
echo "<b> $retrieveno </b>";
shouldnt this return the value 123 ? as im getting nothing. Everything on the form is ok because its trsansfering values from input boxes.
Thanks in advance.
in my html i have
<INPUT type = "CHECKBOX" CHECKED = "checked" value = "1" name="test[]">
<INPUT type = "CHECKBOX" CHECKED = "checked" value = "2" name="test[]">
<INPUT type = "CHECKBOX" CHECKED = "checked" value = "3" name="test[]">
in my php i have
$retrieveno=$_post['test'];
echo "<b> $retrieveno </b>";
shouldnt this return the value 123 ? as im getting nothing. Everything on the form is ok because its trsansfering values from input boxes.
Thanks in advance.