note 8443 added to OCIRowCount

From: Date: Wed, 13 Sep 2000 04:28:42 +0000
Subject: note 8443 added to OCIRowCount
Groups: php.notes 
Request: Send a blank email to php-notes+get-4792@lists.php.net to get a copy of this message
Instead of trying the OCIFetchStatement and/or doing a query twice, here is what worked for me. <pre> while (ocifetch($stmt)) { ... echo ociresult($stmt,"COLUMNNAME"); ... } $q=OCIRowCount($stmt); if(!$q){ echo "Try Again"; } </pre> http://www.php.net/manual/function.ocirowcount.php

« previous php.notes (#4792) next »