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? Link to comment https://forums.phpfreaks.com/topic/22452-re-direct/ 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] Link to comment https://forums.phpfreaks.com/topic/22452-re-direct/#findComment-100691 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? Link to comment https://forums.phpfreaks.com/topic/22452-re-direct/#findComment-101085 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.