Forum und email
ora_getcolumn

ora_getcolumn

(PHP 3, PHP 4, PHP 5 <= 5.1.0RC1)

ora_getcolumn -- Get data from a fetched column

Popis

string ora_getcolumn ( resource cursor, int column )

Fetches the data for a column or function result.

Seznam parametrů

cursor

An Oracle cursor, opened with ora_open().

column

The column number, as an integer.

Návratové hodnoty

Returns the column data. If an error occurs, FALSE is returned and ora_errorcode() will return a non-zero value. Note, however, that a test for FALSE on the results from this function may be TRUE in cases where there is not error as well (NULL result, empty string, the number 0, the string "0").

ChangeLog (záznam změn)

VerzePopis
5.1.0

The oracle extension is deprecated in favor of oci8.

Poznámky

When using oci8 as a replacement for the deprecated oracle extension, consider using:

oci_result()