odbc_cursor

Get cursorname

Description

stringfalse odbc_cursor(Odbc\Result $statement)

Gets the cursorname for the given result_id.

Parameters

statement

The ODBC result object.

Return Values

Returns the cursor name, as a string, or false on failure.

Changelog

Version Description
8.4.0 statement expects an Odbc\Result instance now; previously, a resource was expected.