Re: PgSQL error codes in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dawid,

I think you will have to build something.  If I understand the problem 
correctly, PHP's error routine needs the connection handle to get the 
error, but there is no connection handle if there is an error (!), so PHP 
can't read an error number. 

I have seen other people looking for answers to this, but I have never 
seen any answers.

Thom Dyson
Director of Information Services
Sybex, Inc.
 


pgsql-php-owner@xxxxxxxxxxxxxx wrote on 11/12/2004 05:01:11 AM:

> Hi,

> I need help, please - I tried Google, some specialized mailinglist
> and I got no result for a week. I would like to determine PgSQL error
> codes in PHP after executing a query, but I found functions for getting
> error messages only which I found not usable (messages are often
> localised and so on).


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux