• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need help with PHP

danklumpp

Senior member
This is part of the code for a form mailer that will send input information to an email address:

mail($to, $subject, $msg, $headers);
if ($forward == 1) {
header ("Location:$location");
}
else {
(I want a function to direct the browser to go to a certain url)
}

What is the code for directing to a certain url after the form is submitted?
 
Back
Top