Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<odbc_connection_string_should_quoteodbc_data_source>
^ODBC FunctionsLast updated: Mon, 26 Oct 2026

odbc_cursor

(PHP 4, PHP 5, PHP 7, PHP 8)

odbc_cursor — Get cursorname

Description

function odbc_cursor(Odbc\Result $statement): string|false

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.

<odbc_connection_string_should_quoteodbc_data_source>
^ODBC FunctionsLast updated: Mon, 26 Oct 2026