PECL CUBRID >= 8.3.0
cubrid_fetch_assoc - Return the associative array that corresponds to the fetched row
Code Examples

cubrid_fetch_assoc( resource$result, [int$type] ): array

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.



result comes from a call to cubrid_execute


Type can only be CUBRID_LOB, this parameter will be used only when you need to operate the lob object.

Return Values

Associative array, when process is successful.

false, when there are no more rows; NULL, when process is unsuccessful.

Related Functions

Example of cubrid_fetch_assoc

Show all examples for cubrid_fetch_assoc

PHP Version:

Function cubrid_fetch_assoc:

CUBRID Functions

Most used PHP functions