OCIError patch
| From: | Daniel Ceregatti | Date: | Tue, 12 Mar 2002 20:48:48 +0000 |
| Subject: | OCIError patch | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81094@lists.php.net to get a copy of this message | ||
Hi,
I wrote a small patch to oci8.c's OCIError function which places the
following tag:
<span style="color:#FF0000; font-weight:bold"><ERROR></span>
just before an error in a sql statement and adds the modified statement
text into a new element called "sqltext" to the array returned by
OCIError, much the same way sqlplus adds an asterisk under an error.
I find this very useful, and I'm hoping you will too. I've attached the
patch.
Thanks,
Daniel Ceregatti