List:MySQL and Perl« Previous MessageNext Message »
From:mark o' sullivan Date:October 22 2003 12:58pm
Subject:form parameter passing
View as plain text  
Hi,
Anyone know is it possible to get a string from a drop-down menu in a form
and pass it from one perl script to another. 
The way it currently is:

Script 1:
print "<select name=task>";
while(my ($task)= $sth->fetchrow_array)
{
   print "<option value=$task>$task</option>";
}
print "</select>";

Script 2:
$task = param("task");

I only get the first part of the $task string read in from the drop-down
menu.
Example '$task' strings:
(1)Caching the browser.
(2)DSL to RSA conversion.

What I'm getting:
(1)Caching
(2)DSL

Any alternatives for param to read strings?
Thanks in advance,
Mark.


**********************************************************************
This document is strictly confidential and is intended for use by
 the addressee unless otherwise indicated.
Allied Irish Banks
**********************************************************************

Thread
form parameter passingmark o' sullivan22 Oct
  • Re: [perl-mysql] form parameter passingDave Cash22 Oct
Re: form parameter passingLeif W22 Oct