From c6743b5a5fe5e98041c615298ad40ac90e321f87 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Mon, 29 Apr 2002 00:41:22 +0000 Subject: [PATCH] reset array between calls to ora_fetch_into in example. (i can't believe nobody has just made ora_fetch_{row,array,assoc}) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@80315 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/oracle/functions/ora-fetch-into.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reference/oracle/functions/ora-fetch-into.xml b/reference/oracle/functions/ora-fetch-into.xml index 023c3e7fed..42649d0cc6 100644 --- a/reference/oracle/functions/ora-fetch-into.xml +++ b/reference/oracle/functions/ora-fetch-into.xml @@ -1,5 +1,5 @@ - + @@ -36,6 +36,7 @@ $results = array(); 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']; ?>