|
hi iv got an online form which uses php to send the data to an email address. when the user has submitted their details i want the page to link to another specific page. the code im using is only bringing up a screen with a thankyou comment.i imagine you replace this with the page you want but not sure of code.thanks
if(mail($to,"Comments From Your Site",$message,"From: $email\n")) {
echo "thankyou for your comment;
} else {
echo "There was a problem sending the mail. Please check that you filled in the form correctly.";
|