This class was developed by Dhruv Jain aka Hack Archives
You may use this freely unles this notice remains intact
Author Website: http://hackarchives.org
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
Regards,
Dhruv Jain
http://hackarchives.org
|