Bob O'Neill wrote:
>
I've found this thread very helpful, and have changed it to use Vars (from
http://users.easystreet.com/ovid/cgi_course/) as I need a hash. This has
replaced the following:
foreach $entry (param()) {
$fieldhash{$entry}=param($entry);
Checkentr
> "Ovid" == Ovid <[EMAIL PROTECTED]> writes:
Ovid> As of CGI.pm version 2.63, if the name is supplied in the query string
Ovid> but has no value, CGI.pm should return an empty string for that. This
Ovid> should let you keep your @name and @email arrays in synch. Even if you
Ovid> are using
--- Sara <[EMAIL PROTECTED]> wrote:
> Thanks for the quick respons, just need a bit more help. Now I need
> to write
> these values in a text file (I am fully aware of writing to files)
> but where
> I am gettin' confused is that : I told you that Name is a required
> field,
> but Email is opti
October 29, 2005 9:14 AM
Subject: Re: Taking Multiple Values for The Same Form Field.
--- Sara <[EMAIL PROTECTED]> wrote:
use CGI;
my $q = new CGI;
my $name = $q->param('name');
Now What as multiple name values will be coming.??
Use list context:
my
--- Sara <[EMAIL PROTECTED]> wrote:
>
> use CGI;
> my $q = new CGI;
>
> my $name = $q->param('name');
>
> Now What as multiple name values will be coming.??
Use list context:
my @names = $q->param('name');
Cheers,
Ovid
--
If this message is a response to a question on a maili
Never thought of it before, but now I need help as how to pass multiple values
of a form field with a single submit to script.
** example **
use CGI;
my $q = new CGI;
my $name = $q->param('name');
Now What as multiple name value