Hi everyone, wondering if anyone knew how to pass an associative array via POST to mod_perl. Something like:

<input type="text" name="search[name]" />
<input type="text" name="search[email" />

then it posts to say.. example.pl

....
my $r=Apache->request;
my $req=Apache::Request->new(shift);
my %stuff=$req->param('search');

That for example doesn't work, but... I'd like it to :) Anyone know how to get this going? By the way, I *need* the names to preserve, having search[] would defeat the purpose of what I'm trying to do here. Thanks

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to