|
Posted by Andy Hassall on 01/26/07 19:59
On 26 Jan 2007 08:52:57 -0800, "Sonnich" <sonnich.jensen@elektrobit.com> wrote:
>I'm trying to work with the example for OCI... and the $row returns 2
>values, the same twice, but my query only have one... code below.
[snip]
> while ($row = oci_fetch_array($stid, OCI_RETURN_NULLS))
oci_fetch_array returns the values twice - once with numeric indexes, and
again with the names of the columns as keys.
http://uk.php.net/oci_fetch_array
The default mode is OCI_BOTH - you don't want that.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|