note 11438 deleted from pg_connect by ronabop
| From: | ronabop@php.net | Date: | Sun, 25 Feb 2001 01:10:13 +0000 |
| Subject: | note 11438 deleted from pg_connect by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11543@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)