Hi,
this time, I need to run a sub script, when a button is pressed. I've tried multiple versions of the code, but my perl skills are limited, and I can't find the solution. Please help!
The button should go in sub html_add_success and sub html_modify_success, just after the |; &html_record_long(&get_record($in{$db_key})); print qq| -line. If I put this: &html_save_server; the script (create_file_and_send_email_mod - without the mailsend) works just fine - BUT, I need to run it only when the (damn :) ) button is pressed.
Maybe the code is something like this:
<form action=" ???? " method="POST">
<INPUT class="input_1y" TYPE="SUBMIT" NAME="html_save_server" VALUE="Save">
</form>
maco
this time, I need to run a sub script, when a button is pressed. I've tried multiple versions of the code, but my perl skills are limited, and I can't find the solution. Please help!
The button should go in sub html_add_success and sub html_modify_success, just after the |; &html_record_long(&get_record($in{$db_key})); print qq| -line. If I put this: &html_save_server; the script (create_file_and_send_email_mod - without the mailsend) works just fine - BUT, I need to run it only when the (damn :) ) button is pressed.
Maybe the code is something like this:
<form action=" ???? " method="POST">
<INPUT class="input_1y" TYPE="SUBMIT" NAME="html_save_server" VALUE="Save">
</form>
maco

