Gossamer Forum
Home : Products : DBMan : Discussions :

Arrays and html.pl

Quote Reply
Arrays and html.pl
I pass an array from my form (I'm using a multiple select list on the form) to the perl script. I use a print routine to test the passed values (after spliting my name, value pairs).

I can see the following: ProductID[]= 5 4 2 1 8
This represents the name of the array and its values which have been passed to perl, split and printed.

My problem is I can't figure out how to access or use these values in my perl script. Simple question but not obvious to me. Also how do I pass this array on to the next html page via the use of hidden variables -- in other words how do I reference the array in the hidden variable name, value strings to make it pass properly?

Subject Author Views Date
Post Arrays and html.pl pwatkins 1741 Nov 27, 2000, 1:56 AM