PHP Classes

mysqldb: Simple MySQL access class

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,262 All time: 3,038 This week: 488Up
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: ???

 

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,262
This week:0
All time:3,038
This week:488Up