form parameter passing

form parameter passing

am 22.10.2003 14:58:44 von mark.r.osullivan

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 "";

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
************************************************************ **********


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: form parameter passing

am 22.10.2003 16:11:59 von Leif W

For some reason the list doesn't set the Reply-To header, I didn't notice,
so my reply went only to the original poster. Mark sorry if you get this
twice. Here it is for the archives.

----- Original Message -----
From: "Leif W"
To: "mark o' sullivan"
Sent: Wednesday, October 22, 2003 9:31 AM
Subject: Re: form parameter passing


> ----- Original Message -----
> From: "mark o' sullivan"
> To:
> Sent: Wednesday, October 22, 2003 8:58 AM
> Subject: form parameter passing
>
>
> > 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 "";
> >
> > 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
> > ************************************************************ **********
> >
> >
> > --
> > MySQL Perl Mailing List
> > For list archives: http://lists.mysql.com/perl
> > To unsubscribe: http://lists.mysql.com/perl?unsub=warp-9.9@usa.net
> >
> >
> >
>



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: form parameter passing

am 22.10.2003 16:11:59 von Leif W

For some reason the list doesn't set the Reply-To header, I didn't notice,
so my reply went only to the original poster. Mark sorry if you get this
twice. Here it is for the archives.

----- Original Message -----
From: "Leif W"
To: "mark o' sullivan"
Sent: Wednesday, October 22, 2003 9:31 AM
Subject: Re: form parameter passing


> ----- Original Message -----
> From: "mark o' sullivan"
> To:
> Sent: Wednesday, October 22, 2003 8:58 AM
> Subject: form parameter passing
>
>
> > 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 "";
> >
> > 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
> > ************************************************************ **********
> >
> >
> > --
> > MySQL Perl Mailing List
> > For list archives: http://lists.mysql.com/perl
> > To unsubscribe: http://lists.mysql.com/perl?unsub=warp-9.9@usa.net
> >
> >
> >
>



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: [perl-mysql] form parameter passing

am 22.10.2003 17:48:03 von Dave Cash

On Wed, 22 Oct 2003, mark o' sullivan wrote:

> 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 "";
>
> 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?

Dude,

I feel for you, I really do. But this question (despite the
$sth->fetchrow_array portion above, which I think you know is not
causing your problem) is off-topic for this list (the topic of which
is things specific to the relationship between Perl and MySQL).

Posting off-topic questions (and responses to off-topic questions)
just waters down a list like this and ultimately makes it less
useful (due to the OT clutter).

Never fear, though. All is not lost. There are places where the
asking of this question would not be OT and where you would find
lots of folks who would answer your question. The first place I'd
try is perlmonks.org. You might also find a list related to Perl
and CGI to ask your question.

Best of luck!

Dave

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash Power to the People!
Frolicking in Fields of Garlic Right On-Line!
dave@gnofn.org Dig it all.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: [perl-mysql] form parameter passing

am 22.10.2003 17:48:03 von Dave Cash

On Wed, 22 Oct 2003, mark o' sullivan wrote:

> 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 "";
>
> 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?

Dude,

I feel for you, I really do. But this question (despite the
$sth->fetchrow_array portion above, which I think you know is not
causing your problem) is off-topic for this list (the topic of which
is things specific to the relationship between Perl and MySQL).

Posting off-topic questions (and responses to off-topic questions)
just waters down a list like this and ultimately makes it less
useful (due to the OT clutter).

Never fear, though. All is not lost. There are places where the
asking of this question would not be OT and where you would find
lots of folks who would answer your question. The first place I'd
try is perlmonks.org. You might also find a list related to Perl
and CGI to ask your question.

Best of luck!

Dave

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash Power to the People!
Frolicking in Fields of Garlic Right On-Line!
dave@gnofn.org Dig it all.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org