PHP Manualpg_port(PHP 4, PHP 5) pg_port — Return the port number associated with the connection Description
int pg_port
([ resource $connection
] )
pg_port() returns the port number that the given PostgreSQL connection resource is connected to. Parameters
Return ValuesAn int containing the port number of the database server the connection is to, or FALSE on error. Examples
Example#1 pg_port() example
<?php
|
PHP-Index
New Tutorial entries
|






