I am very new to coding and I am trying to fix my form so it redirects to another webpage after the user submits. I have read the other threads but I cannot get it to work. Here is the code, and any help would be great!
$recipient = "#@gmail.com";
$subject = "User Sign Up Form";
$mailheader = "From: $user_email \r\n";
echo "Thank You! Submitted Successfully.";
mail($recipient, $subject, $formcontent, $mailheader) or die("Error!");
?>