mikkoh has asked for the wisdom of the Perl Monks concerning the following question:
foreach($q->param()){ if(/^[\w\d]+/){ $stuff .= $_; $stuff .= ":"; $stuff .= $q->param("$_"); $stuff .= "\n\n"; } }
The problem is with the checkboxes, only the first given value gets appended to the string. Like if the string was:
list:foo,bar,foobar
the string is set to
list:foo
I'm probably just missing something simple, but I've tried pretty much everything I know. I'd appreciate some comments..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A newbie's CGI- kinda problem
by httptech (Chaplain) on May 26, 2000 at 17:57 UTC | |
|
Re: A newbie's CGI- kinda problem
by comatose (Monk) on May 26, 2000 at 17:27 UTC | |
by mikkoh (Beadle) on May 26, 2000 at 18:35 UTC | |
|
Re: A newbie's CGI- kinda problem
by anders (Initiate) on May 26, 2000 at 17:59 UTC | |
by mikkoh (Beadle) on May 26, 2000 at 18:38 UTC | |
|
RE: A newbie's CGI- kinda problem
by agoth (Chaplain) on May 26, 2000 at 18:02 UTC | |
by httptech (Chaplain) on May 26, 2000 at 18:22 UTC |