maxdb_real_connect

(PECL maxdb >= 1.0) Opens a connection to a MaxDB server bool maxdb_real_connect ( resource $link [, string $hostname [, string $username [, string $passwd [, string $dbname [, int $port = 0 [, string $socket ]]]]]] ) Procedural style Object oriented style bool maxdb::real_connect ([ string $hostname [, string $username [, string $passwd [, string $dbname [, int $port = 0 [, string $socket ]]]]]] ) maxdb_real_connect()

maxdb_query

(PECL maxdb >= 1.0) Performs a query on the database mixed maxdb_query ( resource $link, string $query [, int $resultmode ] ) Procedural style Object oriented style mixed maxdb::query ( string $query ) The maxdb_query() function is used to simplify the act of performing a query against the database represented by the link parameter. Returns: Returns TRUE on success or FALSE on failure. For SEL

maxdb_real_escape_string

(PECL maxdb >= 1.0) Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection string maxdb_real_escape_string ( resource $link, string $escapestr ) Procedural style Object oriented style string maxdb::real_escape_string ( string $escapestr ) This function is used to create a legal SQL string that you can use in an SQL statement. The string escapestr is e

maxdb_prepare

(PECL maxdb >= 1.0) Prepare an SQL statement for execution resource maxdb_prepare ( resource $link, string $query ) Procedural style Object oriented style maxdb_stmt maxdb::prepare ( string $query ) maxdb_prepare() prepares the SQL query pointed to by the null-terminated string query, and returns a statement handle to be used for further operations on the statement. The query must consist of a single SQL statement. Not

maxdb_options

(PECL maxdb >= 1.0) Set options bool maxdb_options ( resource $link, int $option, mixed $value ) Procedural style Object oriented style bool maxdb::options ( int $option , mixed $value ) maxdb_options() can be used to set extra connect options and affect behavior for a connection. This function may be called multiple times to set several options. maxdb_options() should be called after maxdb_init() and before maxdb_re

maxdb_next_result

(PECL maxdb >= 1.0) Prepare next result from multi_query bool maxdb_next_result ( resource $link ) Since multiple queries are not yet supported, maxdb_next_result() returns always FALSE. Returns: Returns FALSE. See also: maxdb_multi_query() - maxdb_more_results() -

maxdb_ping

(PECL maxdb >= 1.0) Pings a server connection, or tries to reconnect if the connection has gone down bool maxdb_ping ( resource $link ) Procedural style Object oriented style bool maxdb::ping ( void ) Checks whether the connection to the server is working. If it has gone down, and global option maxdb.reconnect is enabled an automatic reconnection is attempted. This function can be used by clients that remain idle for a

maxdb_num_rows

(PECL maxdb >= 1.0) Gets the number of rows in a result int maxdb_num_rows ( resource $result ) Procedural style Object oriented style int $maxdb->num_rows; Returns the number of rows in the result set. The use of maxdb_num_rows() depends on whether you use buffered or unbuffered result sets. In case you use unbuffered resultsets maxdb_num_rows() will not correct the correct number of rows until all the rows in the

maxdb_param_count

(PECL maxdb 1.0) Alias of maxdb_stmt_param_count() This function is an alias of: maxdb_stmt_param_count(). This function alias is deprecated and only exists for backwards compatibility reasons. The use of this function is not recommended, as it may be removed from PHP in the future.

maxdb_num_fields

(PECL maxdb >= 1.0) Get the number of fields in a result int maxdb_num_fields ( resource $result ) Procedural style Object oriented style int $maxdb_result->field_count; maxdb_num_fields() returns the number of fields from specified result set. Returns: The number of fields from a result set Examples: Object oriented style