Re: [PHP] Getting POSTed values from dynamically named checkboxes

2003-05-30 Thread CPT John W. Holmes
Add some debugging code. Are you sure 36 and 37 end up in the $array_id array? Try printing out $_POST['idlist'] and $thisid as you loop through this thing to figure out where/what is getting skipped. Ditto the idea on doing this another, way, btw... :) ---John Holmes... - Original Message -

Re: [PHP] Getting POSTed values from dynamically named checkboxes

2003-05-30 Thread David Grant
Dillon, John wrote: My problem relates to IF statement in the following code. There are two checkboxes, named altid$thisid, so for instance they become altid36 and altid37. When the form is submitted with both checked, I can read the first altid36, but the second does not pass the IF test. Any