Method |
Description |
|
__construct ( array $options ) : Mysql |
Constructor |
|
disconnect ( ) : void |
Close the DB connection. |
|
escape ( string $value ) : string |
Return the escaped string value. |
|
execute ( string $sql ) : void |
Execute the prepared SQL query. |
|
fetch ( ) : array |
Return the results array from the results resource. |
|
lastId ( ) : integer |
Return the auto-increment ID of the last query. |
|
numFields ( ) : integer |
Return the number of fields in the result. |
|
numRows ( ) : integer |
Return the number of rows in the result. |
|
query ( string $sql ) : void |
Execute the SQL query and create a result resource, or display the SQL error. |
|
showError ( ) : void |
Throw an exception upon a database error. |
|
version ( ) : string |
Return the database version. |
|