Re: Ora_fetch
| From: | Tom Mathews | Date: | Wed, 09 May 2001 09:14:41 +0000 |
| Subject: | Re: Ora_fetch | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7377@lists.php.net to get a copy of this message | ||
OK
Forget this - I managed to get onto php.net this morning and noticed the
helpful comment from Bernard Blundell - if anyone else has this problem, just
add the constant , ORA_FETCHINTO_NULLS, to the ora_fetch_into() function: -
ora_fetch_into($cursor, &a, ORA_FETCHINTO_NULLS)
Tom Mathews wrote:
> Hi all
>
> I've just had to revert to Ora (as opposed to OCI) functions for a
> backward site and I'm having a problem: -
>
> I'm doing the following
>
> 1) ora_parse and ora_exec on a SELECT statement
> 2) ora_fetch_into on the cursor from (1)
>
> What seems to happen is that when it encounters any null values in the
> table, the fetch returns the previous good value from that column
> instead.
>
> Anyone else seen this or (preferably) know a solution? The same doesn't
> appear to happen using OCI_Fetch on my own server.
>
> Cheers
>
> Tom
>
> ------------------------------------------------------------------------
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net