note 8443 deleted from function.ocirowcount by didou

From: Date: Tue, 12 Aug 2003 08:21:03 +0000
Subject: note 8443 deleted from function.ocirowcount by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53943@lists.php.net to get a copy of this message
Note Submitter: jgarcia@mobilize.com ---- 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>

« previous php.notes (#53943) next »