note 8917 modified in Ora_Fetch_Into by ronabop
| From: | ronabop@php.net | Date: | Fri, 06 Oct 2000 14:40:08 +0000 |
| Subject: | note 8917 modified in Ora_Fetch_Into by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6166@lists.php.net to get a copy of this message | ||
Very Important to initialise the array each time at the end of the while-loop.
Do this to prevent 'ghosting' from data !!!
<?php
array($results);
while (ora_fetch_into($cursor, &$results){
echo $results[0];
echo $results[1];
$results = array();
}
?>
http://www.php.net/manual/function.ora-fetch-into.php