someone left this comment on the php site
[EMAIL PROTECTED] at 27-Dec-2000 09:37 

It is important to note that this function acts more as a counter of the
number of rows fetched from the cursor.  If you execute this prior to
processing the cursor you will always get a 0 for an answer.

The online manual and one of my PHP reference books does not make that
distinction.  Some may expect this to count the number of rows in the
cursor prior to processing.  This function does not do that.
hope that helps - from this, it sounds like it effectively returns the
current row

-----Original Message-----
From: Sam Masiello [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 3:46 AM
To: PHP General
Subject: [PHP] ora_numrows() function

I just wanted to verify the functionality of the ora_numrows() function.  On
the ora_numrows() manual page it reads that the function returns the number
of rows in a result set, but in the ora_getcolumn() documentation it reads
that the ora_numrows() function returns the current row number.

Could someone please give me a quick clarification?

Thanks :)


Sam Masiello
Software Quality Assurance Engineer
(716) 853-1362 X289

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to