SQL and DB Connection Question (Interfacing with PHP)

From: <operationsengineer1(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: SQL and DB Connection Question (Interfacing with PHP)
Date: 2005-01-21 21:40:33
Message-ID: 20050121214033.2644.qmail@web52402.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message John DeSoi 2005-01-21 21:41:42 Re: generating dynamic queries using pl/pgsql
Previous Message Bruno Wolff III 2005-01-21 21:20:09 Re: Primary keys and indexes