Метод |
Описание |
|
__construct ( $dbuser = '', $dbpassword = '', $dbname = '', $dbhost = 'localhost', $encoding = '' ) |
********************************************************************
Constructor - allow the user to perform a quick connect at the
same time as initialising the ezSQL_mysqli class |
|
connect ( $dbuser = '', $dbpassword = '', $dbhost = 'localhost', $dbport = false ) |
********************************************************************
Try to connect to mySQL database server |
|
disconnect ( ) |
********************************************************************
Close the active mySQLi connection |
|
escape ( $str ) |
********************************************************************
Format a mySQL string correctly for safe mySQL insert
(no mater if magic quotes are on or not) |
|
query ( $query ) |
********************************************************************
Perform mySQL query and try to determine result value |
|
quick_connect ( $dbuser = '', $dbpassword = '', $dbname = '', $dbhost = 'localhost', $dbport = '3306', $encoding = '' ) |
********************************************************************
Short hand way to connect to mySQL database server
and select a mySQL database at the same time |
|
select ( $dbname = '', $encoding = '' ) |
********************************************************************
Try to select a mySQL database |
|
sysdate ( ) |
********************************************************************
Return mySQL specific system date syntax
i.e. Oracle: SYSDATE Mysql: NOW() |
|