note 10269 deleted from function.ocierror by maxim
| From: | maxim@php.net | Date: | Fri, 16 May 2003 01:23:15 +0000 |
| Subject: | note 10269 deleted from function.ocierror by maxim | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48077@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)