[PHP-WIN] Re: dynamic checkboxes submit..help!

2002-02-18 Thread Nicole Amashta
Always some little bug to slip in I forgot to do a count on the array to get the size: Here is my code corrected: $size = count($ids); for($i=0; $i<$size; $i++) { if ( isset($ids[$i]) ) // do something } "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">ne

[PHP-WIN] Re: dynamic checkboxes submit..help!

2002-02-18 Thread Nicole Amashta
OK, name all the related check boxes with the same name and put [] at the end of the name so it looks like an array. Then, in your phpscript, you can access all the values in the area. example: In your HTML page: in your php script, access the ids like so: $ids you can loop through the