Services webmasters
Partenaires
Jeux concours gratuits
 
pg_copy_to
<<<
pg_dbname pg_delete
>>>

7.82 PostgreSQL
7 Index des fonctions
 Manuel PHP

Introduction
Pré-requis
Installation
Configuration à l'exécution
Trucs et astuces d'utilisation
Constantes prédefinies
Exemples
pg_affected_rows
pg_cancel_query
pg_client_encoding
pg_close
pg_connect
pg_connection_busy
pg_connection_reset
pg_connection_status
pg_convert
pg_copy_from
pg_copy_to
->pg_dbname
pg_delete
pg_end_copy
pg_escape_bytea
pg_escape_string
pg_fetch_all
pg_fetch_array
pg_fetch_assoc
pg_fetch_object
pg_fetch_result
pg_fetch_row
pg_field_is_null
pg_field_name
pg_field_num
pg_field_prtlen
pg_field_size
pg_field_type
pg_free_result
pg_get_notify
pg_get_pid
pg_get_result
pg_host
pg_insert
pg_last_error
pg_last_notice
pg_last_oid
pg_lo_close
pg_lo_create
pg_lo_export
pg_lo_import
pg_lo_open
pg_lo_read_all
pg_lo_read
pg_lo_seek
pg_lo_tell
pg_lo_unlink
pg_lo_write
pg_meta_data
pg_num_fields
pg_num_rows
pg_options
pg_pconnect
pg_ping
pg_port
pg_put_line
pg_query
pg_untrace
pg_update

7.82.19 pg_dbname()Nom de la base de données

[ Exemples avec pg_dbname ]   PHP 3, PHP 4

string  pg_dbname ( resource   connection )

pg_dbname retourne le nom de la base de données PostgreSQL associée à l'index de connexion connection, ou FALSE si connection n'est pas valide.

Exemple avec pg_dbname

<?php
    error_reporting
(E_ALL);

    
pg_connect ("host=localhost port=5432 dbname=mary");
    echo
pg_dbname();
?>

<< pg_dbname >>
pg_copy_to PostgreSQL pg_delete
Services webmasters
Les manuels
 
CoursPHP.com - Reproduction interdite -