|
//Send the email if there's no error
else {
$body = "$emessage\n\nName: $ename\nEmail: $eemail\nIp: $eip";
mail($mymail,$esubject,$body,"From: $eemail\n");
echo "<p>Thank you for your email $ename! <p></p>
I'm new to PHP and don't know all the commands and what they mean.
I need to know how to add a new field "ephone" to be sent in the e-mail and I'm not sure how to incorporate it into the "$body =" line. Everything with my form is working, except the fact that the field phone number I added isn't showing up in the receiving end of the e-mail. Any assistance is appreciated.
|