note 42100 added to function.ocierror

From: Date: Mon, 03 May 2004 15:45:46 +0000
Subject: note 42100 added to function.ocierror
Groups: php.notes 
Request: Send a blank email to php-notes+get-69150@lists.php.net to get a copy of this message
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']}"; } ---- Manual Page -- http://www.php.net/manual/en/function.ocierror.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42100 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42100&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42100&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69150) next »