maxdb_stmt_close

(PECL maxdb >= 1.0) Closes a prepared statement bool maxdb_stmt_close ( resource $stmt ) Procedural style Object oriented style bool maxdb_stmt::close ( void ) Closes a prepared statement. maxdb_stmt_close() also deallocates the statement handle pointed to by stmt. If the current statement has pending or unread results, this function cancels them so that the next query can be executed. Returns:

maxdb_stmt_close_long_data

(PECL maxdb 1.0) Ends a sequence of maxdb_stmt_send_long_data() bool maxdb_stmt_close_long_data ( resource $stmt, int $param_nr ) Procedural style Object oriented style bool maxdb_stmt::close_long_data ( void ) This function has to be called after a sequence of maxdb_stmt_send_long_data(), that was started after maxdb_execute(). param_nr indicates which parameter to associate the end of data with. Parameters are numbered

maxdb_stmt_bind_result

(PECL maxdb >= 1.0) Binds variables to a prepared statement for result storage bool maxdb_stmt_bind_result ( resource $stmt, mixed &$var1 [, mixed &$... ] ) Procedural style Object oriented style bool maxdb_stmt::bind_result ( mixed &$var1 [, mixed &$... ] ) maxdb_stmt_bind_result() is used to associate (bind) columns in the result set to variables. When maxdb_stmt_fetch() is called to fetch data, the Max

maxdb_stmt_bind_param

(PECL maxdb >= 1.0) Binds variables to a prepared statement as parameters bool maxdb_stmt_bind_param ( resource $stmt, string $types, mixed &$var1 [, mixed &$... ] ) Procedural style Object oriented style bool maxdb_stmt::bind_param ( string $types , mixed &$var1 [, mixed &$... ] ) Procedural style (extended syntax): bool maxdb_stmt_bind_param ( resource $stmt , string $types , array &$var ) Object or

maxdb_stmt_affected_rows

(PECL maxdb >= 1.0) Returns the total number of rows changed, deleted, or inserted by the last executed statement int maxdb_stmt_affected_rows ( resource $stmt ) Procedural style Object oriented style int $maxdb_stmt->affected_rows; maxdb_stmt_affected_rows() returns the number of rows affected by INSERT, UPDATE, or DELETE query. If the last query was invalid or the number of rows can not determined, this function wi

maxdb_stat

(PECL maxdb >= 1.0) Gets the current system status string maxdb_stat ( resource $link ) Procedural style Object oriented style string maxdb::stat ( void ) maxdb_stat() returns a string containing several information about the MaxDB server running. Returns: A string describing the server status. FALSE if an error occurred. Examples:

maxdb_ssl_set

(PECL maxdb >= 1.0) Used for establishing secure connections using SSL bool maxdb_ssl_set ( resource $link, string $key, string $cert, string $ca, string $capath, string $cipher ) Procedural style Object oriented style bool maxdb::ssl_set ( string $key , string $cert , string $ca , string $capath , string $cipher ) This function is currently not documented; only its argument l

maxdb_sqlstate

(PECL maxdb >= 1.0) Returns the SQLSTATE error from previous MaxDB operation string maxdb_sqlstate ( resource $link ) Procedural style Object oriented style string $maxdb->sqlstate; Returns a string containing the SQLSTATE error code for the last error. The error code consists of five characters. '00000' means no error. The values are specified by ANSI SQL and ODBC. Note: Note that not all MaxDB errors are yet map

maxdb_set_opt

(PECL maxdb 1.0) Alias of maxdb_options() This function is an alias of: maxdb_options().

maxdb_server_init

(PECL maxdb >= 1.0) Initialize embedded server bool maxdb_server_init ([ array $server [, array $groups ]] ) This function is currently not documented; only its argument list is available.