Re: Database Classes and prepared statements - Mailing list pgsql-novice

From John DeSoi
Subject Re: Database Classes and prepared statements
Date
Msg-id AC007EC3-D6F7-4CB9-B960-A3C7ECA820C8@pgedit.com
Whole thread Raw
In response to Database Classes and prepared statements  ("G. J. Walsh" <gjwalsh@dscdirectionalservices.com>)
Responses Re: Database Classes and prepared statements
List pgsql-novice
On Mar 18, 2008, at 6:25 PM, G. J. Walsh wrote:

> 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?


There is an example here on using a PHP class to call PostgreSQL
functions using prepared statements:

http://pgedit.com/resource/php/pgfuncall




John DeSoi, Ph.D.





pgsql-novice by date:

Previous
From: "G. J. Walsh"
Date:
Subject: Database Classes and prepared statements
Next
From: James Long
Date:
Subject: COPY doesn't like my dates on STDIN