Home > PHP > Function > OCI8 > oci_new_cursor()

oci_new_cursor()

oci_new_cursor - Allocates and returns a new cursor (statement handle)

Syntax

resource oci_new_cursor (resource $connection)

Arguments

  • connection - An Oracle connection identifier, returned by oci_connect() or oci_pconnect().

Description

Allocates a new statement handle on the specified connection.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns a new statement handle, or FALSE on error.