Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Saeed Ahmed  >  Simple login and database module  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: documentation for the class
Class: Simple login and database module
Authenticate users with records in a MySQL table
Author: By
Last change:
Date: 2010-08-18 05:24
Size: 750 bytes
 

Contents

Class file image Download
This class is written to create login module. also this class is written to connect database, sql query execution and fetch data from database table.

-> query_execute($query)
this function is for execution the sql query.
$query = the mysql query.

->fetch_data($result)
this function is for the fetch data from the database table.
$result = the return value after execute mysql query

->login_user($username, $password)
login_user is for login function. it validate the user from database. 

$username = user name and $password = password.

this class is under GPL license. you are very welcome for modifications of this class. please feel free to contact me with the bugs or any modifications.

my contact email saeed.sas@gmail.com