On Tue, 14 Oct 2003 02:35:02 -0700, perl wrote: > Can someone show me how to determine which button the user clicked?
This hasn't all that much to do with Perl, really. > <input type=submit value=LEFT> > <input type=submit value=RIGHT> Name your input fields. For example something like this: <input type="submit" name="direction" value="left" /> <input type="submit" name="direction" value="right" /> Now, in your script: my $direction = $cgi->param( 'direction' ) || ''; -- Tore Aursand <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]