SQL and DB Connection Question (Interfacing with PHP)

Поиск
Список
Период
Сортировка
От
Тема SQL and DB Connection Question (Interfacing with PHP)
Дата
Msg-id 20050121214033.2644.qmail@web52402.mail.yahoo.com
обсуждение исходный текст
Ответы Re: SQL and DB Connection Question (Interfacing with PHP)  (Michael Fuhr <mike@fuhr.org>)
Список 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 по дате отправления:

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: generating dynamic queries using pl/pgsql
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Upgrade from v8rc5 to 8.0.0 fails