note 89812 deleted from function.oci-new-descriptor by danbrown

From: Date: Tue, 24 Mar 2009 14:40:29 +0000
Subject: note 89812 deleted from function.oci-new-descriptor by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-152387@lists.php.net to get a copy of this message
Note Submitter: vavra at 602.cz ---- I tried "Example #2 oci_new_descriptor() example" and I found that line: $clob->write($data); should be changed to $clob->writTemporary($data); writTemporary() creates new temporary clob. Example #2 leads to error OCI_INVALID_HANDLE in write() or execute(). Also call close() instead of free().

« previous php.notes (#152387) next »