note 11438 added to pg_connect

From: Date: Wed, 21 Feb 2001 03:59:22 +0000
Subject: note 11438 added to pg_connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-11323@lists.php.net to get a copy of this message
Against the proposal above pg_connect wants the parameters in different order. pg_connect("host=$db_host port=$db_port dbname=$db_name user=$db_user password=$db_password") Notice the essentail position of "dbname" otherwise your connection try will fail. Hope this ->really<- helps ;-) (versions: PostgeSQL7.0.2, PHP4.0.4pl1) http://www.php.net/manual/en/function.pg-connect.php

« previous php.notes (#11323) next »