direct login
Title
Question
How can we directly go to members page after clicking login without going through "click here to login members page"
in real sites after clicking login we are directed to home page
PHP-and-MySQL User-Login-Part-3 01-02 min 40-50 sec
Answers:
Hi Anurag,
You can use header function which is available in PHP.
Example:
----------------------------------------------------------------------------------------------
if($username==$dbusername&&$password==$dbpassword)
{
header('Location: member.php');
}
----------------------------------------------------------------------------------------------
If any problem please reply back on this thread.
Thanks,
Dinesh S. G
You can use header function which is available in PHP.
Example:
----------------------------------------------------------------------------------------------
if($username==$dbusername&&$password==$dbpassword)
{
header('Location: member.php');
}
----------------------------------------------------------------------------------------------
If any problem please reply back on this thread.
Thanks,
Dinesh S. G
Login to add comment