note 42100 deleted from function.oci-error by sixd

From: Date: Sat, 14 Nov 2009 02:41:13 +0000
Subject: note 42100 deleted from function.oci-error by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-162898@lists.php.net to get a copy of this message
Note Submitter: mlong-php at mlong dot us Reason: 0 ---- It seems in 4.3 (and probably other versions), if you call OCIError twice it will fail on the second time (with an empty array). This used to work on previous versions but no longer. So my prior example of doing if (OCIError won't work and you have to do it like the other contributed example: $r = @OCIExecute($selectw,OCI_DEFAULT); if (!$r) { $erra=OCIError($selectw); print "Error: ${erra['code']} ${erra['message']}"; }

« previous php.notes (#162898) next »