'morning!
i'm making a dynamic form. For each row in the table, i display it on the screen so that the user can change any value (except the key). And I name the textfield dynamically with a counter like this :
<input type="text" name="nopage_<? echo $ctr ?>" size="10" maxlength="10" value="<? echo $contact->no_page?>">
and when the user press the button update, I retrieve data with
while(list($key, $value) = each($HTTP_POST_VARS))
My problem : I have a checkbox for each row. When the check box is checked, i can see it in the post vars, but if I unchecked it, it do not appear anymore in the post vars.
Why is that?
That cause me extra coding to detect if it's in the list or not. . .
Thanx for any help,
cheers
Jacinthe