note 11678 added to Ora_Do
| From: | owend at obscure dot org | Date: | Fri, 02 Mar 2001 02:32:30 +0000 |
| Subject: | note 11678 added to Ora_Do | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11760@lists.php.net to get a copy of this message | ||
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 ...
http://www.php.net/manual/en/function.ora-do.php