★ wanayoo — archive 1999 http://php.net/manual/es/function.pg-errormessage.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PostgreSQL
Quick Reference
PostgreSQL
English version of this pageGerman version of this pageJapanese version of this page
Italian version of this pageFrench version of this pageHungarian version of this page
Spanish version of this page
* pg_Close
* pg_cmdTuples
* pg_Connect
* pg_DBname
* pg_ErrorMessage
* pg_Exec
* pg_Fetch_Array
* pg_Fetch_Object
* pg_Fetch_Row
* pg_FieldIsNull
* pg_FieldName
* pg_FieldNum
* pg_FieldPrtLen
* pg_FieldSize
* pg_FieldType
* pg_FreeResult
* pg_GetLastOid
* pg_Host
* pg_loclose
* pg_locreate
* pg_loopen
* pg_loread
* pg_loreadall
* pg_lounlink
* pg_lowrite
* pg_NumFields
* pg_NumRows
* pg_Options
* pg_pConnect
* pg_Port
* pg_Result
* pg_tty

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

  Community:
LinuxFund.org
OSDN
Manual: pg_ErrorMessage
View the source code for this pageSearch the site



Previous page
 pg_DBname
 Updated
Thu, 14 Sep 2000
pg_Exec 
Next page


pg_ErrorMessage

(PHP3 <= 3.0.16, PHP4 )

pg_ErrorMessage -- mensaje de error

Descripción

string pg_errormessage (int connection)

Devuelve una cadena que contiene el mensaje de error, o false en caso de fallo. Probablemente no se podrán obtener los detalles del error a través de la función pg_errormessage() si ocurre un error en la última acción de base de datos para la cual existe una conexión valida, esta función retornará una cadena conteniendo el mensaje de error generado por el servidor "backend".


User Contributed Notes: pg_ErrorMessage


f.ermini@telemaco.it
26-Jan-1999 04:07
I would add that this function is useful particularly when used in combination with the "@" prefix, that turns off php's usual error reporting. Otherways, the user will see the error message without need of this functions (and without the fancy formatting that one could provide with a clever use of this function ;-D). Moreover, the text of this entry is not quite clear (maybe is a problem of language? I'm not a natural english-speaker too) but I may guess it means that this function won't work if the error has cause the connection to the DB to be closed.


 About Notes


Previous page
 pg_DBname
 Updated
Thu, 14 Sep 2000
pg_Exec 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.