ora_fetch
(PHP 3, PHP 4 )
ora_fetch -- Fetch a row of data from a cursor
Description
bool ora_fetch ( resource cursor)
Retrieves a row of data from the specified cursor.
Returns TRUE (a row was fetched) or FALSE (no more rows,
or an error occurred). If an error occurred, details can
be retrieved using the ora_error() and ora_errorcode() functions.
If there was no error, ora_errorcode() will return 0.
See also ora_parse(),ora_exec(), and ora_do().
ora_getcolumn
(PHP 3, PHP 4 )
ora_getcolumn -- Get data from a fetched column
Description
mixed ora_getcolumn ( resource cursor, int column)
Fetches the data for a column or function result.
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").
|