Forwarding a page
Posted: Sun Nov 15, 2009 8:54 pm
Hi. So I am using php for my register and login page. If they try to register with an exsisting login name in the database, I print a message to them, but then I want to redirect them somewhere. I am doing
But that just redirects them to quickly, without time to see the message. How can I put a delay on the redirect, or can anyone suggest a better option?
cheers
Code: Select all
else
{
$login= 'This login name already exists.';
header("Location: http://localhost/shop.html");
}cheers