Skip site navigation (1) Skip section navigation (2)

Re: bound variables with PHP?

From: "Manuel Lemos" <mlemos(at)acm(dot)org>
To: "Phil Glatz" <phil(at)glatz(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: bound variables with PHP?
Date: 2001-04-14 17:41:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php
Hello Phil,

On 14-Apr-01 12:39:37, you wrote:

>I haven't found away to use prepared statements with PHP4 and Postgres - 
>any way to do so?  I have an SQL statement I'd prefer to parse outside a 
>loop, ala the prepare and exec statements of dbi. 

Like you would need and external package like DBI in Perl, you can do that
in PHP with an external package like Metabase that supports prepared
statements even with DBMS with API that do not directly support prepared

Look here to get Metabase for free:

Manuel Lemos

Web Programming Components using PHP Classes.
Look at:
E-mail: mlemos(at)acm(dot)org
PGP key:

In response to

pgsql-php by date

Next:From: Gyozo PappDate: 2001-04-15 11:27:25
Subject: Re: postgres.h missing?
Previous:From: Phil GlatzDate: 2001-04-14 15:39:37
Subject: bound variables with PHP?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group