Hi all
I'm receiving an array of checkbox items from an html! the problem is that if i tick the 2nd and the 4th checkbox and post the form an error is given. this is due to my function:
i know why the error is given but i would like to know if i can check if the current pointer in the array is not enbled?
Tahnks
Nick
I'm receiving an array of checkbox items from an html! the problem is that if i tick the 2nd and the 4th checkbox and post the form an error is given. this is due to my function:
Code:
$OBJECT = $_POST['FRM_CHECKBOX'];
for ($a=0;$a < count($OBJECT); $a++)
{
$ID = $OBJECT[$a] <- error
etc...
}
i know why the error is given but i would like to know if i can check if the current pointer in the array is not enbled?
Tahnks
Nick