note 2563 deleted from OCIResult by ronabop

From: Date: Fri, 18 Aug 2000 05:13:06 +0000
Subject: note 2563 deleted from OCIResult by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2446@lists.php.net to get a copy of this message
I am having some difficiculties extracting the data value using OCIResult(). I'm using the example found in OCILogon(), in the select_data*$conn) user defined function. In the table HALLO, I defined the TEST columne to be a varchar2(2000). The code fragment: while (ocifetch($stmt)) echo $conn, "< ", ociresult($stmt,"TEST"), ">nn"; ... Only the $conn value is printed but nothing from ociresult. Also, according to the manual, OCIResult returns an int yet the documentation says it returns everything as a string excepct ROWID, LOBS, CLOBS and other object types. Can anyone help here?

« previous php.notes (#2446) next »