note 32860 added to function.ora-fetch
| From: | god at danielhauser dot com | Date: | Mon, 09 Jun 2003 13:36:29 +0000 |
| Subject: | note 32860 added to function.ora-fetch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50026@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/function.ora-fetch.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32860
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32860&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32860&report=yes