can't read oracle lob

From: Date: Mon, 21 Aug 2000 20:40:58 +0000
Subject: can't read oracle lob
Groups: php.db 
Request: Send a blank email to php-db+get-2207@lists.php.net to get a copy of this message
Hello there, Last time I got a very useful answer from the mailing list ,so I hope there's someone who can help me. I have a problem with Oracle large objects. I can insert new rows with lobs, but whet I want to read (and display) them, I can't do it. I tried the following code: $stmt = OCIParse($conn,"select THE_LOB from lobtst where id=11"); OCIExecute($stmt); ocifetchinto($stmt,&$tt,OCI_ASSOCC); echo $tt["THE_LOB"]->load(); But I got the following error message: Fatal error: Member function used on a non-object in /usr/local/httpd.........../readlob.php3 on line 48 Does anyone have any idea. Thanks in advance, Máté Lajtos

« previous php.db (#2207) next »