oci_new_cursor

PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_new_cursor - Allocates and returns a new cursor (statement handle)
Manual
Code Examples

oci_new_cursor( resource$connection ): resource|false

Allocates a new statement handle on the specified connection.

Parameters

connection

An Oracle connection identifier, returned by oci_connect or oci_pconnect.

Return Values

Returns a new statement handle, or false on error.

Notes

Note:

In PHP versions before 5.0.0 you must use ocinewcursor instead. This name still can be used, it was left as alias of oci_new_cursor for downwards compatability. This, however, is deprecated and not recommended.

Example of oci_new_cursor

Show all examples for oci_new_cursor

PHP Version:


Function oci_new_cursor:

Oracle OCI8 Functions

Most used PHP functions