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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]