Re: PostgreSQL + PHP + SQL warning messages

From: Date: Thu, 25 Jan 2001 20:29:27 +0000
Subject: Re: PostgreSQL + PHP + SQL warning messages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36696@lists.php.net to get a copy of this message
El Jue 25 Ene 2001 16:36, Evelio Martinez escribió: > Hi! > > Is there any way to get the equivalent sqlca.sqlcode value of informix > in PostgreSQL from php ? > > I would like to use the sqlcode to print the messages in Spanish. The problem is that informix puts in an array (sort of) all the info about the last query. What sort of information would you like? Last insert? You have an pg_getlastoid() function. Hope it helps. Saludos...:-) -- System Administration: It's a dirty job, but someone told I had to do it. ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#36696) next »