From: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
---|---|
To: | John Mohr <jtmohr(at)healthconresources(dot)com> |
Cc: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: Does php/postgres support placeholder's? |
Date: | 2005-04-28 01:22:31 |
Message-ID: | 42703AD7.8000409@familyhealth.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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).
From | Date | Subject | |
---|---|---|---|
Next Message | Volkan YAZICI | 2005-04-28 10:53:35 | Does php/postgres support placeholder's? |
Previous Message | John DeSoi | 2005-04-28 00:11:06 | Re: Does php/postgres support placeholder's? |