Re: Multiple Selects to Perl Script

2002-07-31 Thread Margaret

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]




Re: Multiple Selects to Perl Script

2002-07-31 Thread Margaret

Thanks Connie. I tried it that way too, but it still doesn't work

- Original Message -
From: "Connie Chan" <[EMAIL PROTECTED]>
To: "Margaret" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 7:47 AM
Subject: Re: Multiple Selects to Perl Script


> Sorry, wrong =)
>
> 
> One
> Two
> Three
> 
>
> Don't missed the value= inside option.
> where value= is the value throw to CGI,
> otherwise, you will get type=(nothing).
>
> Rgds,
> Connie
>
> - Original Message -
> From: "Margaret" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 01, 2002 1:45 PM
> Subject: Fw: Multiple Selects to Perl Script
>
>
> >
> >  Hi
> >
> >  My html looks like this :
> >
> >  
> >  .
> >  .
> >  
> >  one
> >  two
> >  three
> >  etc
> >  
> >  .
> >  .
> >  
> > >
> > > Does this look right?
> > >
> > > Thanks
> > > Margaret
> > >
> > > - Original Message -
> > > From: "Kipp, James" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, July 31, 2002 3:36 PM
> > > Subject: RE: Multiple Selects to Perl Script
> > >
> > >
> > > > are you sure all the values are associated with the name 'type' ?
> > > >
> > > >
> > > > > -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]
> > > >
> > > >
> > >
> >
> >
> > --
> > 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]
>
>


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




Re: Multiple Selects to Perl Script

2002-07-31 Thread Connie Chan

Sorry, wrong =)


One
Two
Three


Don't missed the value= inside option.
where value= is the value throw to CGI, 
otherwise, you will get type=(nothing).

Rgds,
Connie

- Original Message - 
From: "Margaret" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 1:45 PM
Subject: Fw: Multiple Selects to Perl Script


> 
>  Hi
> 
>  My html looks like this :
> 
>  
>  .
>  .
>  
>  one
>  two
>  three
>  etc
>  
>  .
>  .
>  
> >
> > Does this look right?
> >
> > Thanks
> > Margaret
> >
> > - Original Message -
> > From: "Kipp, James" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, July 31, 2002 3:36 PM
> > Subject: RE: Multiple Selects to Perl Script
> >
> >
> > > are you sure all the values are associated with the name 'type' ?
> > >
> > >
> > > > -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]
> > >
> > >
> >
> 
> 
> -- 
> 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]




Fw: Multiple Selects to Perl Script

2002-07-31 Thread Margaret


 Hi

 My html looks like this :

 
 .
 .
 
 one
 two
 three
 etc
 
 .
 .
 
>
> Does this look right?
>
> Thanks
> Margaret
>
> - Original Message -
> From: "Kipp, James" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 31, 2002 3:36 PM
> Subject: RE: Multiple Selects to Perl Script
>
>
> > are you sure all the values are associated with the name 'type' ?
> >
> >
> > > -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]
> >
> >
>


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




RE: Multiple Selects to Perl Script

2002-07-31 Thread Kipp, James

are you sure all the values are associated with the name 'type' ?


> -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]




Multiple Selects to Perl Script

2002-07-31 Thread Margaret

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]