★ wanayoo — archive 1999 http://www.php.net/manual/it/function.pg-dbname.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PostgreSQL
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageFrench version of this pageHungarian version of this page
PostgreSQL
* 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_loexport
* pg_loimport
* pg_loopen
* pg_loread
* pg_loreadall
* pg_lounlink
* pg_lowrite
* pg_NumFields
* pg_NumRows
* pg_Options
* pg_pConnect
* pg_Port
* pg_Result
* pg_trace
* pg_tty
* pg_untrace
Manual: pg_DBname
View the source code for this pageSearch the site



Previous page
 pg_Connect
 Updated
Sun, 06 Aug 2000
pg_ErrorMessage 
Next page


pg_DBname

(unknown)

pg_DBname -- nome del database

Descrizione

string pg_dbname (int connection)

Restituisce il nome del database a cui si riferisce l'indice di connessione PostgreSQL che è stato fornito, o falso se connection non è un valido indice di connessione.


User Contributed Notes: pg_DBname


bens_at_saber.net
26-Jul-2000 08:09

This function can be used to validate a pg connection!

if (@pg_dbname($connect=="")

return false;

else return true;

This seems to work rather well.



 About Notes


Previous page
 pg_Connect
 Updated
Sun, 06 Aug 2000
pg_ErrorMessage 
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.