Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have an web form with a couple of checkboxes, that are all the same variable name, i.e. a foreach loop that prints out: <input type="checkbox" name="P_id" value="$id">$id<br> How do I go through this array of values (in a loop) named P_id with the procedure that the form is submitted to? What does the $html->param() look like for P_id ?

Replies are listed 'Best First'.
Re: Checkbox array with CGI
by Moonie (Friar) on Mar 06, 2002 at 19:35 UTC
Re: Checkbox array with CGI
by Speedy (Monk) on Mar 06, 2002 at 20:04 UTC