Oracle
PHP Manual

ora_numcols

(PHP 4, PHP 5 <= 5.0.5)

ora_numcols — Returns the number of columns

Опи�ание

int ora_numcols ( resource $cursor )

Returns the number of columns in a result. It only returns meaningful values after a parse/exec/fetch sequence.

Спи�ок параметров

cursor

An Oracle cursor, opened with ora_open().

Возвращаемые значени�

Returns the number of columns as an integer, or FALSE on error.

Спи�ок изменений

Вер�и� Опи�ание
5.1.0

The oracle extension is deprecated in favor of oci8.

Примечани�

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

Смотрите также


Oracle
PHP Manual