Jump to content

Archived

This topic is now archived and is closed to further replies.

jwk811

Re-Direct

Recommended Posts

I have this form that gets sent to be emailed to me. Once the form is submitted it goes to that page and I want to use the if..else statment to redirect them or say they did something wrong. How will I be doing that?

Share this post


Link to post
Share on other sites
[code]if (!mail($to, $subject, $message, $headers)) {
  die('Something went wrong');
} else {
  .....
}[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.