Re: Oracle 8

From: Date: Thu, 29 Jun 2000 16:23:43 +0000
Subject: Re: Oracle 8
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-753@lists.php.net to get a copy of this message
On Thu, Jun 29, 2000 at 04:39:32PM +0200, Olivier Lepretre wrote: > Thanks (another time .... ;-) ) > > it allow me to not have the message and trap the error but $res is > unfortunately empty .... How could I know if the execution was successfull > or no ??? ocierror() is your friend. > > > > ----- Original Message ----- > From: <thies@digicol.de> > To: "Olivier Lepretre" <olepretre@afrilink.net> > Cc: <php-db@lists.php.net> > Sent: Thursday, June 29, 2000 4:40 PM > Subject: Re: [PHP-DB] Oracle 8 > > > > 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 > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > > For additional commands, e-mail: php-db-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- 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

« previous php.db (#753) next »