in reply to Re: Problem with CGI::Vars
in thread Problem with CGI::Vars

Hello.

The form does not have multiple keys. The name of the form parameter is composed of two things: an ipaddress and a parameter name. Thus no two fields are alike. Have verified that by "view source".

What else could it be? Why should the form return a single parameter name when all are unique?

Thanks, Sawan.

Replies are listed 'Best First'.
Re: Re: Re: Problem with CGI::Vars
by tachyon (Chancellor) on Feb 08, 2003 at 13:22 UTC

    You don't seem to understand the explanation given. Please show your HTML. For debugging I suggest you look at the CGI object like this which will confirm the data received:

    #!/usr/bin/perl use CGI; use Data::Dumper; my $q = new CGI; print $q->header(), '<pre>', $q->escapeHTML(Dumper $q), '</pre>'; # this will give you all the values of the checkboxes # called param_name that were checked separated by spaces print join ' ', $q->param('param_name');

    This will show you exactly what your script is getting.

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print