----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 1:25 PM
Subject: Passing Arrays In CGI


> Hi there:
>
> I'm currently in a programming situation where my Perl CGI program a)
> displays an online merchandise database ... b) allows the end-user to
> select items from that database listing on an HTML page ...  c) displays a
> summary screen ... and then d) sends the info to a secured server socket.
>
> One problem I'm having now, is passing an array (a.k.a. a list) containing
> merchandise items selected to another CGI program which will then create a
> dynamic HTML summary screen.
>
> Let's say the end-user selects "milk" , "butter" ,  "eggs"
>
> .... and I store those items in the array @FOOD
>
> .... can I pass and entire array from one CGI Perl program to another CGI
> Perl program?
>
> How would the second program "parse out" the array variables from the
> non-array scalar variables?

Are you planning on having them go from one cgi script to another via the HTML form, 
or are you
going to call the second script directly from the first script?

Shawn

>
> Thanks.
>
> -- Al Willen
>
>
> --
> 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