redirect (php newbie)
Posted: Tue Jul 23, 2002 3:17 pm
I have a page that submits a form, and then I need it to redirect back to a previous page. What commands will I need for this?
Thanks
Thanks
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
Header("Location: otherpage.php");Code: Select all
<?php
$send = "eahradvisor@coe.tamu.edu";
$subject = "Student Employment";
$body = "Fullname: $fullname \n";
...
$body.= "Year: $year \n";
$fromemail = $email;
mail( $send ,$subject , $body , $fromemail);
Header("Location: student.php");
?>