Re: Unknown Host in pg_connect()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

>> I'm trying to connect to PostgreSQL using pg_connect:
>> $dbh = pg_connect("host=localhost, dbname=inventory, user=inventoryUser,
>password=secret");
It's a simple syntax error, the commas are not required.

Thorsten
-- 
The privacy of correspondence, posts and telecommunications shall be inviolable.
	- Grundgesetz, Article 10, Sec. 1 


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux