hi,
I want to be able to let the user decide what to do by clicking on a button (like in a form)... if the user clicks on the first button then "sub click1" should be run and if the user choses button2 then "sub click2" should be run... BUT, I don't know how to get the info out of the form so that I know which button has been pushed... I can call the fuction (&the_function_name) but I don't know how to check which button the user has pushed...
(Also for security reasons, the form (or whatever) should be printed/made in de perl script itself)
Can anyone help me??
Thanks,
Math
I want to be able to let the user decide what to do by clicking on a button (like in a form)... if the user clicks on the first button then "sub click1" should be run and if the user choses button2 then "sub click2" should be run... BUT, I don't know how to get the info out of the form so that I know which button has been pushed... I can call the fuction (&the_function_name) but I don't know how to check which button the user has pushed...
(Also for security reasons, the form (or whatever) should be printed/made in de perl script itself)
Can anyone help me??
Thanks,
Math