note 600 deleted from function.ora-getcolumn by felipe
| From: | felipe@php.net | Date: | Sat, 29 Dec 2007 15:50:02 +0000 |
| Subject: | note 600 deleted from function.ora-getcolumn by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134109@lists.php.net to get a copy of this message | ||
Note Submitter: Brian dot Craigie at necs dot demon dot co dot uk
Reason: 5
----
The column number starts at zero.
The number of columns may be obtained by a call to the (undocumented) function:
$ncols=ora_numcols($cur);
after ora_exec($cur) has been performed.
Correction:
ora_numrows($cur); returns the current row number.
To find out how many rows you will have, you need to do a 'select count(*)...' query first
and read back the result.