Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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?


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 


pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group