Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have the following code
@machines=("a", "b", "c"); use CGI qw(:standard); $q = new CGI; #$q->use_named_parameters(1); print $q->header(-title=>'SI', -author=>'me'), $q->p, $q->start_html('Welcome'), $q->p, $q->h1('Welcome'), $q->h3('Which machine would you like to Analyize?'), $q->popup_menu(-name=>'machines', -values=>\@machines), $q->p, $q->submit; $machine=$q->param('machines'); $q->end_html; if ($q->params) { <do some stuff> }
The if section is never executed. Please help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cgi sumbit no-worky
by MrCromeDome (Deacon) on Aug 06, 2003 at 17:44 UTC | |
|
Re: cgi sumbit no-worky
by cfreak (Chaplain) on Aug 06, 2003 at 18:09 UTC | |
|
Re: cgi sumbit no-worky
by valdez (Monsignor) on Aug 06, 2003 at 17:51 UTC | |
|
Re: cgi sumbit no-worky
by rdfield (Priest) on Aug 06, 2003 at 17:52 UTC |