Hi Everybody,

I am trying to send an array as a hidden value in my script as follows:

@array = (eggs, ham, bread, pop);

foreach $food (@array){
print "<INPUT TYPE=\"hidden\" NAME=\"food\" VALUE=\"$food\">";
}

My two questions are:

1.  Is this the most efficient way of sending an array as a hidden value?

2.  And if so, what is the corresponding $input{''} syntax?

Many thanks for your time, everybody!  



=====
#########################################
Warmest Regards,
Simon K. Chan - [EMAIL PROTECTED]

"Great spirits have always encountered violent opposition from mediocre minds."

-Albert Einstein

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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

Reply via email to