Re: Unknown Host in pg_connect()

From: Thorsten Haude <postgresql(at)thorstenhau(dot)de>
To: PostgreSQL PHP ML <pgsql-php(at)postgresql(dot)org>
Subject: Re: Unknown Host in pg_connect()
Date: 2002-03-24 15:34:54
Message-ID: 20020324153454.GB3485@eumel.yoo.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Devrim GUNDUZ 2002-03-25 16:13:28 Re: connecting from php
Previous Message PG Explorer 2002-03-24 15:07:05 Re: Unknown Host in pg_connect()