in reply to Passing form parameters same CGI page
I can't reproduce your problem, because I don't have a suitable environment. My first thought is that you've got a single 'form' but two different buttons to 'submit' it. If you're getting the right parameters in the generated URL though, that'll _probably_ be ok.
Failing that though - 'use strict;' and 'use warnings;' are you friends. They're _really_ good for picking out where things might be going wrong. But if as you've identifed, 'lname1' isn't getting passed, it's worth checking what the value of it - and $sql is, within the subroutines in question.
|
|---|