Re: Oracle 8
| From: | thies at digicol dot de | Date: | Thu, 29 Jun 2000 14:40:17 +0000 |
| Subject: | Re: Oracle 8 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-744@lists.php.net to get a copy of this message | ||
On Thu, Jun 29, 2000 at 04:15:34PM +0200, Olivier Lepretre wrote:
> Hi everybody
>
> I'm looking for a way to catch oracle's error under php 3.
> I tried to use the ocierror function but I still have naughty messages on my generated web page
>
> ( such as
> Warning: OCIStmtExecute: ORA-00001: unique constraint (ADMAFR1.PK_AFR_CUSTOMER) violated in
> /www/htdocs/denver/tables/UpdCustomer.php3 on line 65
> )
>
> Could any one help me to manage myself oracle's errors ???
$res = @ociexecure(...);
> Thank's !
>
> __________________
> Olivier Lepretre
> Afrilink Belgium S.A.
> IT Manager
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany