[line 43]
[line 64]
[line 71]
[line 78]
[line 57]
[line 50]
boolean __construct( string $sHost, string $sUser, string $sPassword, [string $sDatabase = ""], [boolean $bPersistant = TRUE])
It creates a connection to the database, and if possible it sets the database to You can specify if you want to use persistant connections or not.
void __destruct( )
void closeConnection( )
boolean es( $string)
boolean escapeString( $string)
void execute( $sql)
array fetchArray( [ $result = FALSE])
object fetchObject( )
array fetchRow( )
void freeResult( )
boolean getConnected( )
boolean getLocked( )
mixed getMysqlError( )
mixed getMysqlErrorNo( )
mixed getNumRows( )
object getQueryResult( )
void printError( string $text, [boolean $killApp = FALSE])
boolean query( string $query, [bool $IgnoreErrors = FALSE])
The function does not return the result of the query, you must call the function getQueryResult() to fetch the result
void query_result( )
void setConnected( $bStatus $bStatus)
boolean setDb( $sDatabase)
void setLocked( boolean $bStatus)
boolean setReadLock( string $sTable)
boolean setWriteLock( string $sTable)
void unlock( )