note 11678 deleted from function.ora-do by danbrown
| From: | danbrown@php.net | Date: | Fri, 26 Sep 2008 16:43:26 +0000 |
| Subject: | note 11678 deleted from function.ora-do by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144808@lists.php.net to get a copy of this message | ||
Note Submitter: owend at obscure dot org
----
I couldn't figure out how this worked until I looked at the PHP source code. The documentation
does not mention that what ora_do returns is in fact a cursor, not just an integer true/false flag.
So the following snippet illustrates how I have been using it:
$cur = ora_do($conn, $query);
$foo = ora_getcolumn($cur,0);
... etc ...