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?
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?
