Toni wrote:
echo "<meta http-equiv=\"refresh\" content=\"1;url=test5.php\">";
this works.
I tried header("Location: test5.php ");
it didn't work.
Header functions only works when no data is sent to the client. So you only can use header ("location: xxxx.php"); if you´re sure that the client did not receive any http-header-info or even outputed data.
The meta-tagg is correct when you want to show the page and then redirect within a few seconds to test5.php.
Arjaan