You are here: Re: mysql question « PHP SQL « IT news, forums, messages
Re: mysql question

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация