maxdb_stmt_prepare

(PECL maxdb >= 1.0) Prepare an SQL statement for execution bool maxdb_stmt_prepare ( resource $stmt, string $query ) Procedural style Object oriented style mixed maxdb_stmt::prepare ( string $query ) maxdb_stmt_prepare() prepares the SQL query pointed to by the null-terminated string query. The statement resource has to be allocated by maxdb_stmt_init(). The query must consist of a single SQL statement. Note: You sho

maxdb_stmt_param_count

(PECL maxdb >= 1.0) Returns the number of parameter for the given statement int maxdb_stmt_param_count ( resource $stmt ) Procedural style Object oriented style int $maxdb_stmt->param_count; maxdb_stmt_param_count() returns the number of parameter markers present in the prepared statement. Returns: returns an integer representing the number of parameters.

maxdb_stmt_num_rows

(PECL maxdb >= 1.0) Return the number of rows in statements result set int maxdb_stmt_num_rows ( resource $stmt ) Procedural style Object oriented style int $maxdb_stmt->num_rows; Returns the number of rows in the result set. Returns: An integer representing the number of rows in result set. Examples: Object oriented style

maxdb_stmt_init

(PECL maxdb >= 1.0) Initializes a statement and returns an resource for use with maxdb_stmt_prepare resource maxdb_stmt_init ( resource $link ) Procedural style Object oriented style object maxdb::stmt_init ( void ) Allocates and initializes a statement resource suitable for maxdb_stmt_prepare(). Note: Any subsequent calls to any maxdb_stmt function will fail until maxdb_stmt_prepare() was called.

maxdb_stmt_free_result

(PECL maxdb >= 1.0) Frees stored result memory for the given statement handle void maxdb_stmt_free_result ( resource $stmt ) Procedural style Object oriented style void maxdb_stmt::free_result ( void ) The maxdb_stmt_free_result() function frees the result memory associated with the statement represented by the stmt parameter, which was allocated by maxdb_stmt_store_result(). Returns: This fu

maxdb_stmt_fetch

(PECL maxdb >= 1.0) Fetch results from a prepared statement into the bound variables bool maxdb_stmt_fetch ( resource $stmt ) Procedural style Object oriented style bool maxdb_stmt::fetch ( void ) maxdb_stmt_fetch() returns row data using the variables bound by maxdb_stmt_bind_result(). Note: Note that all columns must be bound by the application before calling maxdb_stmt_fetch(). Returns:

maxdb_stmt_execute

(PECL maxdb >= 1.0) Executes a prepared Query bool maxdb_stmt_execute ( resource $stmt ) Procedural style Object oriented style bool maxdb_stmt::execute ( void ) The maxdb_stmt_execute() function executes a query that has been previously prepared using the maxdb_prepare() function represented by the stmt resource. When executed any parameter markers which exist will automatically be replaced with the appropiate data. I

maxdb_stmt_error

(PECL maxdb >= 1.0) Returns a string description for last statement error string maxdb_stmt_error ( resource $stmt ) Procedural style Object oriented style string $maxdb_stmt->error; For the statement specified by stmt, maxdb_stmt_error() returns a containing the error message for the most recently invoked statement function that can succeed or fail. Returns: A string that describes the err

maxdb_stmt_errno

(PECL maxdb >= 1.0) Returns the error code for the most recent statement call int maxdb_stmt_errno ( resource $stmt ) Procedural style Object oriented style int $maxdb_stmt->errno; For the statement specified by stmt, maxdb_stmt_errno() returns the error code for the most recently invoked statement function that can succeed or fail. Note: For possible error codes see documentation of SQLDBC: ยป http://maxdb.sap.com

maxdb_stmt_data_seek

(PECL maxdb >= 1.0) Seeks to an arbitray row in statement result set bool maxdb_stmt_data_seek ( resource $statement, int $offset ) Procedural style Object oriented style bool maxdb_stmt::data_seek ( int $offset ) The maxdb_stmt_data_seek() function seeks to an arbitrary result pointer specified by the offset in the statement result set represented by statement. The offset parameter must be between zero and the total num