note 61919 deleted from function.ora-fetch-into by philip
| From: | philip@php.net | Date: | Fri, 18 Apr 2008 05:03:48 +0000 |
| Subject: | note 61919 deleted from function.ora-fetch-into by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138445@lists.php.net to get a copy of this message | ||
Note Submitter: HERVE3D
----
With : ora_fetch_into($curs, &$dt, ORA_FETCHINTO_ASSOC)
If the value of a field is NULL it will contains value from the row before.
To avoid this you can use :
ora_fetch_into($curs, $dt, ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC);
And NULL fields remain empty.