![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have a form on the website I'm working on and it has a confirmation message for after it's been submitted. Here is the code already in place: ?php } else { error_reporting(0); $recipient = 'email (AT) abc (DOT) com'; $subject = "Service Request Form"; $msg = "Service Request from: $ename\n\n" .stripslashes($_POST['MsgBody']); $headers = "From: " . $_POST['Email']; if (mail($recipient,$subject,$msg,$headers)) { echo nl2br("[b]Thank you for your request - your message was sent."); echo (" Click here to go back to the home page."); } else { echo ("Message failed to send"); echo ("Click here to go back to the Request Form."); } } ? How do I insert a link or button back to the home page? This was already built and the "click here" doesn't appear to be working. Thank you, Caroline |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |