ScottCybak
Programmer
My form expert looks as such:
<input type="checkbox" name="my_array[]" value="1" checked /> Introduction<br />
<input type="checkbox" name="my_array[]" value="2" checked /> Newest Member<br />
Now, my form handler doesn't work.. it keeps giving me errors... it's quite simple really.
if (is_array($my_array)) {
echo "It's an array";
} else {
echo "It's NOT an array - WTF";
}
There are options selected.. and i have no clue why it's not registering as it should. Anyone care to hazard a guess as to why it's not behaving as it should? Scott Cybak
Nighthawk Transport Inc.
<input type="checkbox" name="my_array[]" value="1" checked /> Introduction<br />
<input type="checkbox" name="my_array[]" value="2" checked /> Newest Member<br />
Now, my form handler doesn't work.. it keeps giving me errors... it's quite simple really.
if (is_array($my_array)) {
echo "It's an array";
} else {
echo "It's NOT an array - WTF";
}
There are options selected.. and i have no clue why it's not registering as it should. Anyone care to hazard a guess as to why it's not behaving as it should? Scott Cybak
Nighthawk Transport Inc.