how do I refresh and redirect a page using PHP?
Feb 24th, 2008 20:08
dman, Lee Forkenbrock, v s, http://www.ttnr.org
You can use the header function for redirection...the only thing is
that you must not output to a webpage(eg. echo...print) before
executing this function because it will give you an error. The
following is the example code from php.net...
header("Location: http://www.php.net/"); /* Redirect browser
to PHP web site */
exit; /* Make sure that code below does
not get executed when we redirect. */