greg Posted March 23, 2006 Share Posted March 23, 2006 Hello,I have a calculation online form where the visitor put some data, click submit, and the calculations are displayed. I want to know how can I setup the form so I can get ALSO an email when the submit button is hitted?Thank you for your help.GregHere is part of the code:[code]this is at the beginning of the form:<form name="estimator" action="<?php echo FILENAME_ESTIMATOR.'?pID='.(int)$HTTP_GET_VARS['pID'];?>" method="post" onsubmit="return checkForm(this);">this is where the submit buttom is located:<input value="Generate Estimate" name="submit" style="font-family: verdana; font-size: 8pt;" type="submit"> <input value="Reset" name="reset" onclick="document.location = form.action;" style="font-family: verdana; font-size: 8pt;" type="button"> <input value="Close" name="close" onclick="window.close();" style="font-family: verdana; font-size: 8pt;" type="button">[/code] Quote Link to comment https://forums.phpfreaks.com/topic/5642-how-to-send-an-email-with-this-form/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.