
/*
Definition at line 41 of file mysqlicompat.php.
Public Member Functions | |
| __construct ($db_name, $login, $password, $server='localhost', $port=NULL) | |
| Constructor. | |
| escape ($string) | |
| Escapes a string and returns it with added quotes. | |
| & | prepare ($query) |
| Returns an un-executed Database_Query_mysqlicompat object. | |
| _errstr () | |
| _errno () | |
| server_info () | |
| close () | |
| Database_mysqlicompat::__construct | ( | $ | db_name, | |
| $ | login, | |||
| $ | password, | |||
| $ | server = 'localhost', |
|||
| $ | port = NULL | |||
| ) |
Constructor.
| string | $db_name Name of the database we're connecting to | |
| string | $login Login name to use when connecting | |
| string | $password Password to use when connecting | |
| string | $server Database server to connect to (Default: localhost) | |
| string | $port Port or socket address to connect to /* |
Definition at line 52 of file mysqlicompat.php.
| Database_mysqlicompat::escape | ( | $ | string | ) |
Escapes a string and returns it with added quotes.
On top of normal escaping, this also escapes ? characters so it's safe to use in other db queries.
| string | $string string to escape |
Definition at line 82 of file mysqlicompat.php.
| & Database_mysqlicompat::prepare | ( | $ | query | ) |
Returns an un-executed Database_Query_mysqlicompat object.
| string | $query The query string |
Definition at line 97 of file mysqlicompat.php.
| Database_mysqlicompat::_errstr | ( | ) |
| Database_mysqlicompat::_errno | ( | ) |
| Database_mysqlicompat::server_info | ( | ) |
Definition at line 119 of file mysqlicompat.php.
| Database_mysqlicompat::close | ( | void | ) |
1.5.5