cubrid_result

PECL CUBRID >= 8.3.0
cubrid_result - Return the value of a specific field in a specific row
Manual
Code Examples

cubrid_result( resource$result, int$row, [mixed$field = 0] ): string

This function returns the value of a specific field in a specific row from a result set.

Parameters

result

result comes from a call to cubrid_execute

row

The row number from the result that is being retrieved. Row numbers start at 0.

field

The name or offset of the field being retrieved. It can be the field's offset, the field's name, or the field's table dot field name (tablename.fieldname). If the column name has been aliased ('select foo as bar from...'), use the alias instead of the column name. If undefined, the first field is retrieved.

Return Values

Value of a specific field, on success (NULL if value if null).

false on failure.

Example of cubrid_result

Show all examples for cubrid_result

PHP Version:


Function cubrid_result:

CUBRID Functions

Most used PHP functions