Database Classes and prepared statements

Поиск
Список
Период
Сортировка
От G. J. Walsh
Тема Database Classes and prepared statements
Дата
Msg-id 1205879115.425.13.camel@www.dscdirectionalservices.com
обсуждение исходный текст
Ответы Re: Database Classes and prepared statements  (John DeSoi <desoi@pgedit.com>)
Список pgsql-novice
I have (finally) had considerable success in establishing initialized
tables for my research work in psychometrics. As a next step in my
learning curve, I introduced a class with functions sufficient to
connect to the data base and successfully run select queries and display
the resulting rows.

(I used "Beginning PHP and PostgreSQL 8 - Chapter 31 - as my starting
point.)

This will allow me to move on, but I was wondering about the use of
prepared statements. Can this functionality be included in the class -
that is I need a bit of a boost to incorporate the requisite pg_prepare
and pg_execute functions.

Assuming this is possible, could someone kindly show me some sample code
to make it happen?

George


В списке pgsql-novice по дате отправления:

Предыдущее
От: Abdelkader Boudih
Дата:
Сообщение: Re: What is a password for?
Следующее
От: John DeSoi
Дата:
Сообщение: Re: Database Classes and prepared statements