Re: php connection

From: "K Parker" <kparker(at)eudoramail(dot)com>
To: pgsql-general(at)hub(dot)org
Subject: Re: php connection
Date: 2000-07-14 08:25:30
Message-ID: BEBGEMGCBGNEEAAA@shared1-mail.whowhere.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I thought that wouldn't work because PHP > doesn't substitute variables
> between single quotes :-(

You're right, it doesn't. But you don't _have_
single quotes in this case; the single quotes
are simply chars _inside_ the double_quoted
PHP string:

database = pg_Connect ("host=db.example.com port=5432 \
user=$PHP_AUTH_USER \
password=\"$PHP_AUTH_PW\" dbname=base");

Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Welche 2000-07-14 13:11:57 Re: Figured it out (psql and Gnu readline)
Previous Message Janne Blomqvist 2000-07-14 07:25:16 VS: performance question