cubrid_errno

(PECL CUBRID >= 8.3.1) Return the numerical value of the error message from previous CUBRID operation int cubrid_errno ([ resource $conn_identifier ] ) Returns the error number from the last CUBRID function. The cubrid_errno() function is used to get the error code of the error that occurred during the API execution. Usually, it gets the error code when API returns false as its return value. Parameters:

cubrid_error

(PECL CUBRID >= 8.3.1) Get the error message string cubrid_error ([ resource $connection ] ) The cubrid_error() function is used to get the error message that occurred during the use of CUBRID API. Usually, it gets error message when API returns false as its return value. Parameters: connection The CUBRID connection. Returns: Error message that

cubrid_fetch_assoc

(PECL CUBRID >= 8.3.0) Return the associative array that corresponds to the fetched row array cubrid_fetch_assoc ( resource $result [, int $type ] ) This function returns the associative array, that corresponds to the fetched row, and then moves the internal data pointer ahead, or returns FALSE when the end is reached. Parameters: result result comes from a call to cubr

cubrid_data_seek

(PECL CUBRID >= 8.3.0) Move the internal row pointer of the CUBRID result bool cubrid_data_seek ( resource $result, int $row_number ) This function performs the moving of the internal row pointer of the CUBRID result (associated with the specified result identifier) to point to a specific row number. There are functions, such as cubrid_fetch_assoc(), which use the current stored value of row number. Param

cubrid_close

(PECL CUBRID >= 8.3.1) Close CUBRID connection bool cubrid_close ([ resource $conn_identifier ] ) The cubrid_close() function ends the transaction currently in process, closes the connection handle and disconnects from server. If there is any request handles not closed yet at this point, they will be closed. It is similar to the CUBRID function cubrid_disconnect(). Parameters: conn

cubrid_db_name

(PECL CUBRID >= 8.3.1) Get db name from results of cubrid_list_dbs string cubrid_db_name ( array $result, int $index ) Retrieve the database name from a call to cubrid_list_dbs(). Parameters: result The result pointer from a call to cubrid_list_dbs(). index The index into the result set. Returns: Returns the

cubrid_client_encoding

(PECL CUBRID >= 8.3.1) Return the current CUBRID connection charset string cubrid_client_encoding ([ resource $conn_identifier ] ) This function returns the current CUBRID connection charset and is similar to the CUBRID function cubrid_get_charset(). Parameters: conn_identifier The CUBRID connection. If the connection identifier is not specified, the last link opened by

cubrid_fetch_array

(PECL CUBRID >=8.3.0) Fetch a result row as an associative array, a numeric array, or both array cubrid_fetch_array ( resource $result [, int $type = CUBRID_BOTH ] ) The cubrid_fetch_array() function is used to get a single row from the query result and returns an array. The cursor automatically moves to the next row after getting the result. Parameters: result Result

cubrid_affected_rows

(PECL CUBRID >= 8.3.0) Return the number of rows affected by the last SQL statement int cubrid_affected_rows ([ resource $conn_identifier ] ) int cubrid_affected_rows ([ resource $req_identifier ] ) The cubrid_affected_rows() function is used to get the number of rows affected by the SQL statement (INSERT, DELETE, UPDATE). Parameters: conn_identifier The CUBRID connect

cubrid_set_db_parameter

(PECL CUBRID >= 8.4.0) Sets the CUBRID database parameters bool cubrid_set_db_parameter ( resource $conn_identifier, int $param_type, int $param_value ) The cubrid_set_db_parameter() function is used to set the CUBRID database parameters. It can set the following CUBRID database parameters: PARAM_ISOLATION_LEVEL PARAM_LOCK_TIMEOUT Note: The auto-commit mode can be set by using cubrid_set_autocommit().