I'm having trouble with the code given below, instead of messages, Would like to open one of the pages I think I should use something other than echo, but I'm not familiar with PHP coding too. Any help greatly appreciated If you want to redirect them to the page usage headers ("Location: thankyou .php "). If you want to use pages then it includes "thankyou.php"; $ check = $ _POST ['template']; If ($ check == wrong) {echo 'thankyou.php'; } Else {echo 'error.php'; Mail ($ $, $ theme, $ body); }
No comments:
Post a Comment