* Overview:
*
* This class acts as a wrapper class for the MYSQLi interface.
* The advantages of using this class are:
* 1) A reduction in the required function calls and thus boiler plate code
* over mssqli (time, complexity, etc).
* 2) Acts as a single point of upgrade and editing in the event of a database
* change.
*
* Although not suited for large production work this class is enormously
* useful for simplifying database interaction.
*
* This class also abstracts the developer away from the database calls and
* instead requires basic array code (when handling results).
*
*
* Usage:
*
* Example 1:
*
* include_once 'DBEgg.class.php';
*
* $db = new DBEgg('server', 'username', 'password', 'database');
* $result = $db->Query('INSERT INTO table (column1, column2, column3) VALUES (?, ?, ?);', 'string', 1, 1.1);
* if ($result === false)
* echo '<p>Error: '.$db->GetError().
PHP MYSQLi Wrapper
Brought to you by:
mortontech
Downloads:
0 This Week