PHP Classes

Classes of herve_tribouilloy

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of herve_tribouilloy (1)  >  Mission progress status  >  Reputation  
Picture of herve_tribouilloy
Name: herve_tribouilloy <contact>
Classes: 1
Country: United Kingdom
Age: 49
All time rank: 106648 in United Kingdom
Week rank: 234 Up7 in United Kingdom Up
All time users: 3026
Week users: 0
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image DBConnect  
MySQL database access wrapper
This class is a MySQL database access wrapper that uses some PHP 5 features to simplify the usual operations.

It establishes a connection with a MySQL server in the class constructor function and closes the connection in the destructor function.

It provides functions for executing SQL queries and return a the row object or multiple rows as an array of objects.

The query statements may be formatted with a variable number of arguments with the sprintf function.

Errors throw exceptions that may be catched by applications.

The class may also generate an error log in a file with formatted error lines that may take a variable number of format arguments.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 87% 81% 81% 87% - - 68% 367
Month: Not yet rated by the users

  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z