SQL and DB Connection Question (Interfacing with PHP) - Mailing list pgsql-novice

From
Subject SQL and DB Connection Question (Interfacing with PHP)
Date
Msg-id 20050121214033.2644.qmail@web52402.mail.yahoo.com
Whole thread Raw
Responses Re: SQL and DB Connection Question (Interfacing with PHP)
List pgsql-novice
i've searched high and low on the net and have been
unable to find a good source for how to handle php
variables and constants in the sql string.  does
anyone have a link to a good site?  i'm as much
interested in the *why* as in the actual syntax.

there's lots of information on how to handle static
information...  even in my plethora of books...  but
who really does that?  it would seem to me that using
forms to enter data would be much more prevailent and
that's where the tutorials should focus.

another issue i'm debating right now is how to handle
the database connection parameters (dbname, host,
username, pw).  should that be included in a function?
 and include?  both?

does anyone have a link to a tutorial or an example of
a good methodology?

tia...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

pgsql-novice by date:

Previous
From: John DeSoi
Date:
Subject: Re: generating dynamic queries using pl/pgsql
Next
From: Michael Fuhr
Date:
Subject: Re: Upgrade from v8rc5 to 8.0.0 fails