php header() problem

amandapanda

New Member
here is my code\[code\]if($register){header("Location: http://mydomain.com/userarea");exit();}\[/code\]that if user is registered successfully it is redirected to userarea but after registering it stay on signup page but if i refresh the page it is redirecting me to userarea but i want to redirect the user on signup automatically.....how can i solve this problem
 
Top