Home > PHP > Function > OCI8 > oci_field_name()

oci_field_name()

oci_field_name - Returns the name of a field from the statement

Syntax

string oci_field_name (resource $statement, int $field)

Arguments

  • statement - A valid OCI statement identifier.
  • field - Can be the field\'s index (1-based) or name.

Description

Returns the name of the field.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns the name as a string, or FALSE on errors.