Re: Does php/postgres support placeholder's? - Mailing list pgsql-php

From John DeSoi
Subject Re: Does php/postgres support placeholder's?
Date
Msg-id 03DB9854-B77A-11D9-8B4D-000A95B03262@pgedit.com
Whole thread Raw
In response to Does php/postgres support placeholder's?  ("John Mohr" <jtmohr@healthconresources.com>)
List pgsql-php
On Apr 27, 2005, at 4:47 PM, John Mohr wrote:

> Does php/postgres support placeholder's in queries and updates.
> Something that looks like "select * from x where key=?" ? I notice
> that the call interface doesn't support all of the documented calls,
> for example pg_query and pg_send_query, but not pg_query_params
> (according to pgsql.c, the postgres php -> postgres interface
> program).

I see docs for pg_prepare and pg_execute and execute, but it may only
be in the CVS version. I seem to recall a recent mention on the list
that a more complete interface is coming with PHP 5.1.

http://www.php.net/manual/en/ref.pgsql.php

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-php by date:

Previous
From: "John Mohr"
Date:
Subject: Does php/postgres support placeholder's?
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Does php/postgres support placeholder's?