note 32860 deleted from function.ora-fetch by philip
| From: | philip@php.net | Date: | Fri, 28 Nov 2008 19:36:32 +0000 |
| Subject: | note 32860 deleted from function.ora-fetch by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147116@lists.php.net to get a copy of this message | ||
Note Submitter: god at danielhauser dot com
----
summary: ;-)
If you are using the ora_do() function, you must use do { ... } while(ora_fetch($curs));
because of ora_do() automaticaly fetches the first row.
If you are using
$cur=Ora_Open($db_conn);
Ora_Parse($cur,$sql,0);
Ora_Exec($cur);
you must use while(ora_fetch($curs)) { ... }
because the ora_exec doesn't fetch any row.