jwk811 Posted September 29, 2006 Share Posted September 29, 2006 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? Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted September 29, 2006 Share Posted September 29, 2006 [code]if (!mail($to, $subject, $message, $headers)) { die('Something went wrong');} else { .....}[/code] Quote Link to comment Share on other sites More sharing options...
jwk811 Posted September 29, 2006 Author Share Posted September 29, 2006 else i just write down the url? Quote Link to comment 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.