note 600 modified in function.ora-getcolumn by irchtml

From: Date: Wed, 25 Feb 2004 06:15:01 +0000
Subject: note 600 modified in function.ora-getcolumn by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-65692@lists.php.net to get a copy of this message
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. --was-- The column number starts at zero. The number of columns may be obtained by a call to the (undocumented) function: <PRE> $ncols=ora_numcols($cur); </pre> after <PRE>ora_exec($cur)</PRE> has been performed. The number of rows is obtained from (undocumented)function: <PRE> $nrows = ora_numrows($cur); </PRE> after an <PRE>ora_fetch($cur);</PRE> http://www.php.net/manual/en/function.ora-getcolumn.php

« previous php.notes (#65692) next »