saving . . . saved direct login has been deleted. direct login has been hidden .
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 11-09-15, 8:41 p.m. anurag674

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
23-09-15, 12:51 p.m. dineshsg


Log-in to answer to this question.