Software : PHP
Tutorial : PHP Redirect ...


Using the redirect function in PHP ...

SYNTAX:
header("Location:mypage.php"); /* Redirect browser */

NOTES:
When you call the redirect function ensure you havn't written any HTML to the page or this will generate a header error.

RESULT:
Redirects user to specified page.

Return to the tutorials page.