我对编码非常陌生,我正在尝试修复我的表单,以便在用户提交后重定向到另一个网页。我已阅读其他主题,但我无法让它工作。这是代码,任何帮助都会很棒!
$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!");
>
答案 0 :(得分:2)
header('location: example.php');
exit();