PHP Classes

File: ReadMe.txt

Recommend this page to a friend!
  Classes of Dhruv Jain  >  A MySQL Database Class  >  ReadMe.txt  >  Download  
File: ReadMe.txt
Role: Documentation
Content type: text/plain
Description: A Small Documentation
Class: A MySQL Database Class
Run MySQL queries defined from parameter values
Author: By
Last change:
Date: 4 years ago
Size: 668 bytes


Class file image Download
This class was developed by Dhruv Jain aka Hack Archives
You may use this freely unles this notice remains intact
Author Website:

Script is commented for easy usage

Some examples here:

1.Running Queries
$query = $db->exec("YOUR QUERY HERE");

2.Selecting rows
$result = $db->select("*","users","username='dhruv'","LIMIT 10");

3.Show number of rows
$num = $db->num_rows($result);

4.Fetch Array
$fet = $db->fetch_array($result);

YOu can perform many Mysql functions using this class.All major functions have been included.Please read through comments for better usage

Dhruv Jain