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

From Christopher Kings-Lynne
Subject Re: Does php/postgres support placeholder's?
Date
Msg-id 42703AD7.8000409@familyhealth.com.au
Whole thread Raw
In response to Does php/postgres support placeholder's?  ("John Mohr" <jtmohr@healthconresources.com>)
List pgsql-php
It has special functions for it in 5.1 CVS, but not in release.
However, you can just do it yourself using the PREPARE and EXECUTE
statements:

http://www.postgresql.org/docs/8.0/interactive/sql-prepare.html
http://www.postgresql.org/docs/8.0/interactive/sql-execute.html

Chris


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).

pgsql-php by date:

Previous
From: John DeSoi
Date:
Subject: Re: Does php/postgres support placeholder's?
Next
From: Volkan YAZICI
Date:
Subject: Does php/postgres support placeholder's?