Enter id and seven fields populate from mySQL - works
Two drop down lists from mySQL - works
Number of checkboxes for user input - works
To be entered into mySQL and emailed to three addresses from filled fields - maybe works
Currently have two submit buttons, different names, but I would appreciate help to enable fields from mySQL to continue to work, but for the "total" form to be inserted into mySQL.
No mySQL probs. just getting the final submit to work, code below is current attempt (have been 100s so far)
Help with fixing and understanding solution would be much appreciated.
Thanks
Two drop down lists from mySQL - works
Number of checkboxes for user input - works
To be entered into mySQL and emailed to three addresses from filled fields - maybe works
Currently have two submit buttons, different names, but I would appreciate help to enable fields from mySQL to continue to work, but for the "total" form to be inserted into mySQL.
No mySQL probs. just getting the final submit to work, code below is current attempt (have been 100s so far)
Code:
<?php
if(isset($_REQUEST['lookup'])) {
//first button was used
}
else if(isset($_REQUEST['total'])) {
//second button was used
}
?>
Thanks
Comment