Jump to content


Photo

Re-Direct


  • Please log in to reply
2 replies to this topic

#1 jwk811

jwk811
  • Members
  • PipPipPip
  • Advanced Member
  • 714 posts

Posted 29 September 2006 - 03:13 AM

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?

#2 vbnullchar

vbnullchar
  • Members
  • PipPipPip
  • Advanced Member
  • 428 posts
  • LocationPasig City, Philippines

Posted 29 September 2006 - 06:23 AM

if (!mail($to, $subject, $message, $headers)) {
   die('Something went wrong');
} else {
   .....
}

Registered Linux User #399942
Ubuntu User #14134
--
my blog

#3 jwk811

jwk811
  • Members
  • PipPipPip
  • Advanced Member
  • 714 posts

Posted 29 September 2006 - 07:46 PM

else i just write down the url?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users