How to Write on page after Redirecting
Posted: Sat Jun 06, 2009 1:34 am
i wan to redirect user to index.php page if login was not successfull and after redirecting i want to write on that page "Invalid Password"
How do i accompnish that task
??
i have coded this
How do i accompnish that task
??
i have coded this
Code: Select all
if ( $rownum > 0)
{
header('Location:google.com');
}
else
{
header('Location:index.php');
echo '<font color=red>Invalid Password</font>';
}