Hi all,
Right now I have a "log in" page that displays a simple form. This form has two text boxes for input ("user name" and "password"), as well as a "submit" button.
My desired functionality is that once the user enters their username and password into the appropriate fields and clicks "submit", some php code will connect to my mysql database (which has a table full of user names and passwords), to validate the user input. If the information the user entered is found in the database, they would be re-directed to another page. If not, they would be stuck at this "log in" page.
I'm sure this is a silly, or common question, but does anybody know how I might be able to do this?
Thanks very much,
Phil
Right now I have a "log in" page that displays a simple form. This form has two text boxes for input ("user name" and "password"), as well as a "submit" button.
My desired functionality is that once the user enters their username and password into the appropriate fields and clicks "submit", some php code will connect to my mysql database (which has a table full of user names and passwords), to validate the user input. If the information the user entered is found in the database, they would be re-directed to another page. If not, they would be stuck at this "log in" page.
I'm sure this is a silly, or common question, but does anybody know how I might be able to do this?
Thanks very much,
Phil