Re: php connection - Mailing list pgsql-general

From K Parker
Subject Re: php connection
Date
Msg-id BEBGEMGCBGNEEAAA@shared1-mail.whowhere.com
Whole thread Raw
List 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

pgsql-general by date:

Previous
From: Janne Blomqvist
Date:
Subject: VS: performance question
Next
From: Patrick Welche
Date:
Subject: Re: Figured it out (psql and Gnu readline)