Thanks David, it works this way.

----- Original Message -----
From: "David Kirol" <[EMAIL PROTECTED]>
To: "Margaret" <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 4:47 PM
Subject: RE: Multiple Selects to Perl Script


> Margaret,
> Post some code (the error will be easier to spot). How do you populate the
> param named 'type'?
> In some of my cgi scripts I use:
>
> my ($pname, $pvalue);
> print "By the way, you received the following params:", br;
> foreach $pname (param) {
> print"$pname:", br;
> foreach $pvalue (param($pname)) {
> print"....$pvalue", br;
> }
> }
>
> as a debugging aid. I
> use CGI qw(:standard);
> so I can dispence with $q->param stuff and just use the abbreviated forms.
> HTH
>
> -----Original Message-----
> From: Margaret [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 9:27 AM
> To: [EMAIL PROTECTED]
> Subject: Multiple Selects to Perl Script
>
>
> Hi
>
> I am having a most frustrating problem. I created a from with multiple
> selects using a perl script and passed the multiple selections to an array
> ie.
>
> @array1 = $q->param('type').
>
> The array only contains the first selection and none of the others. How do
I
> fix this? I have read a lot of documentation and it is supposed to work.
> What am I doing wrong?
>
> Regards
> Margaret
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to