Posted by Simon on 12/31/05 11:09
1. Create a form (HTML) with username and password fields
2. submit the form to your php page
3. Grab the username and password
4. connect to your database.
5, run a query against a users table for that username
6. check the password is correct for that user
7. Return true or false accordingly.
"Frank R" <Fradojr@cox.net> wrote in message
news:MCptf.124040$WH.12721@dukeread01...
> Hey, All im learning mysql and i have read tuts on how to add data to a
> table and select the database. Also to connect, but what i dont know how
to
> do is how to check a form through mysql such as a login page to check the
> database for the username and password. And if its true to login does
anyone
> know where i can get a tut on this or someone who can over me some help
> thanks in advanced.
>
>
Navigation:
[Reply to this message]
|