PHP Classes

mysqldb: Simple MySQL access class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2002-10-21 (12 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,258 All time: 2,863 This week: 1,274Up
Version Licenses Categories  
mysql_db 1.0GNU General Publi...Databases
Description Author  

mysql_db provides access to MySQL using these methods:
open() - connects to database
query() - runs SQL query against the connected database
last_id() - gets last insert id for the connection
num_rows() - number of data rows from last query
close() - close database connection

Errors are handled via properties $db->errtype and $db->errstr, which can be tested for.

Picture of David Joyce
Name: David Joyce <contact>
Classes: 1 package by
Country: ???
Age: ???
All time rank: 1898
Week rank: 1500 Up

  Files folder image Files  
File Role Description
Plain text file class.mysql_db.php Class Base class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,258All time:2,863
 This week:0This week:1,274Up