note 10269 added to OCIError
| From: | douglasd at ausisp dot net | Date: | Fri, 22 Dec 2000 00:42:25 +0000 |
| Subject: | note 10269 added to OCIError | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9014@lists.php.net to get a copy of this message | ||
In the above note:
$err = ociexecute($s);
if ($err) var_dump(ocierror($s));
should be:
$err = ociexecute($s);
if (! $err) var_dump(ocierror($s));
to print the error message.
(note the "!" in the if statement)
http://www.php.net/manual/function.ocierror.php