note 8098 added to OCIRowCount

From: Date: Sat, 26 Aug 2000 22:59:46 +0000
Subject: note 8098 added to OCIRowCount
Groups: php.notes 
Request: Send a blank email to php-notes+get-3422@lists.php.net to get a copy of this message
I was wrong! It appeared to work without calling OCIFetchStatement(), but I had missed one I thought was commented out. It appears the easiest workaround if you want to get numrows without moving to the end of the result set is to use: numrows = OCIFetchStatement(...); OCIExecute(...); So that the execute re-executes the query. It's horribly inefficient to query twice, but it works. http://www.php.net/manual/function.ocirowcount.php

« previous php.notes (#3422) next »