Hi.
I have a page. index.php?task=register. The ?task=register tag tells the register form to appear.
The problem I'm having is with the redirection code once the user has registered.
I have got the following bit of code
print("Thanks for registering. You will be redirected in 5 seconds");
?>
<meta http-equiv="refresh" content="5;url="index.php">
.
It is redirecting to the same page with the tag (index.php?task=register) which means users are seeing the registration form again. I want it to return to just index.php
PHP's header function does exactly the same thing.
Does anyone have any ideas or know what I can do to try and sort out this little problem.
Thanks for your help.