MySQL Forums
Forum List  »  PHP

Login Form Creation
Posted by: A M
Date: April 29, 2006 04:14PM

Hello ... I am kinda new to PHP/mySQL programming. I have made a login authentication page in PHP with HTML FORMs.

In the login.php page when a user inputs his UserName & Password and clicks on the submit button, it gets redirected to his home page and then displays a message like "Password Correct" or "Password Failed". Hence, Iam basically executing the mySQL query from the home.php page and then displaying the message on the home.php page.

I however want the mySQL query to execute from the login.php page on clicking the Submit button and only if Password is Correct go to his home.php page else stay in the login.php page.

How Could I get FORM to do that ??

Thanks
AM

Options: ReplyQuote


Subject
Written By
Posted
Login Form Creation
A M
April 29, 2006 04:14PM
April 29, 2006 04:19PM
A M
April 29, 2006 04:45PM
April 29, 2006 04:57PM
A M
April 29, 2006 05:02PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.