> Sorry about that... The code is pasted below. Again, the probelm is that I
> don't get from 'mode0a' to 'mode1'. If I remove 'mode0' and 'mode0a' and
> their associated code from the app. module, things work as expected.
As Jesse pointed out, you need to add the override flag:
> if ($dbh) {
> $html .= $q->h2("You are successfully logged into database $db") ;
> $html .= $q->hidden(-name => 'rm', -value => 'mode1') ;
Here.
What Jesse Said:
> Without seeing the code, I would hazard a guess (based on this description)
> that you are having troubles setting the value of your hidden "mode"
> parameter. The most common mistake is failing to set the "override"
> attribute in the hidden() method of CGI.pm. Many people do this:
>
> $output .= $q->hidden(-name=>'rm', -value=>'new_mode');
>
> ...Instead of this:
>
> $output .= $q->hidden(-name=>'rm', -value=>'new_mode', -override=>1);
>
>
> Look familiar? Post your code, if this doesn't fix your problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]