FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


how to accept array variable from a form in Perl





shamil
I accept the scalar variables sent from a from as
Code:
$name =    param('name');
in Perl. Now i need to accept array variable like
Code:
<input type=radio name=ans1[] value=685 id="ans1_685">
<input type=radio name=ans1[] value=685 id="ans1_685">
. How can i do this?
kronso.23
I'm not very savvy with Perl, I'm still learning, especially with CGI scripts, but doing that is putting an array in a scalar context and so the scalar would only recieve like the first value of the array or the length of the array...? What is it you are trying to achieve?
Related topics
Java tutorials
AJAX tutorial [2nd part now updated]
Looping & echo ini Php with out using while or for
Uplaoding images using php form :::: Help needed
A question for all you monotheists.
[C] Splitting names program
Form Mail help........lol
[C++] Double/Float to char []
Javascript and Dynamic Select Boxes
PayPal Account?
Cycles and the decline of creativity
PHP Form Question
counting the unique word frequencies
how to create post views?
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.