cvs: phpdoc /en/reference/oracle/functions ora-fetch-into.xml
| From: | jim winstead | Date: | Mon, 29 Apr 2002 00:41:22 +0000 |
| Subject: | cvs: phpdoc /en/reference/oracle/functions ora-fetch-into.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969344985@lists.php.net to get a copy of this message | ||
jimw Sun Apr 28 20:41:22 2002 EDT
Modified files:
/phpdoc/en/reference/oracle/functions ora-fetch-into.xml
Log:
reset array between calls to ora_fetch_into in example. (i can't believe nobody has just made
ora_fetch_{row,array,assoc})
Index: phpdoc/en/reference/oracle/functions/ora-fetch-into.xml
diff -u phpdoc/en/reference/oracle/functions/ora-fetch-into.xml:1.3
phpdoc/en/reference/oracle/functions/ora-fetch-into.xml:1.4
--- phpdoc/en/reference/oracle/functions/ora-fetch-into.xml:1.3 Sun Apr 28 20:39:52 2002
+++ phpdoc/en/reference/oracle/functions/ora-fetch-into.xml Sun Apr 28 20:41:22 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/oracle.xml, last change in rev 1.2 -->
<refentry id="function.ora-fetch-into">
<refnamediv>
@@ -36,6 +36,7 @@
ora_fetch_into($cursor, $results);
echo $results[0];
echo $results[1];
+$results = array();
ora_fetch_into($cursor, $results, ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC);
echo $results['MyColumn'];
?>