php8.5
Home/ Manual/ reference / cubrid/ CUBRID MySQL Compatibility Functions

CUBRID MySQL Compatibility Functions

Cubridmysql

In this section

cubrid_affected_rows

Return the number of rows affected by the last SQL statement

cubrid_client_encoding

Return the current CUBRID connection charset

cubrid_close

Close CUBRID connection

cubrid_data_seek

Move the internal row pointer of the CUBRID result

cubrid_db_name

Get db name from results of cubrid_list_dbs

cubrid_errno

Return the numerical value of the error message from previous CUBRID operation

cubrid_error

Get the error message

cubrid_fetch_array

Fetch a result row as an associative array, a numeric array, or both

cubrid_fetch_assoc

Return the associative array that corresponds to the fetched row

cubrid_fetch_field

Get column information from a result and return as an object

cubrid_fetch_lengths

Return an array with the lengths of the values of each field from the current row

cubrid_fetch_object

Fetch the next row and return it as an object

cubrid_fetch_row

Return a numerical array with the values of the current row

cubrid_field_flags

Return a string with the flags of the given field offset

cubrid_field_len

Get the maximum length of the specified field

cubrid_field_name

Return the name of the specified field index

cubrid_field_seek

Move the result set cursor to the specified field offset

cubrid_field_table

Return the name of the table of the specified field

cubrid_field_type

Return the type of the column corresponding to the given field offset

cubrid_list_dbs

Return an array with the list of all existing CUBRID databases

cubrid_num_fields

Return the number of columns in the result set

cubrid_ping

Ping a server connection or reconnect if there is no connection

cubrid_query

Send a CUBRID query

cubrid_real_escape_string

Escape special characters in a string for use in an SQL statement

cubrid_result

Return the value of a specific field in a specific row

cubrid_unbuffered_query

Perform a query without fetching the results into memory

Source: reference/cubrid/cubridmysql.xml · from the official PHP manual (php/doc-en)