in reply to how to get table data in cgi after submitting the form?
In your form CGI:
print $cgi->textfield( -name => "foo", #This is the name we need later -value => "bar" );
In your code where you want to retrieve those values:
my $foo = $cgi->param( -name => "foo" #Back from earlier );
Couldn't get easier than that :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to get table data in cgi after submitting the form?
by TJPride (Pilgrim) on Apr 07, 2012 at 11:14 UTC | |
by thomas895 (Deacon) on Apr 10, 2012 at 04:06 UTC |