pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Manuel Lemos <mlemos@acm.org>
To: Phil Glatz <phil@glatz.com>
Cc: pgsql-php@postgresql.org
Subject: Re: bound variables with PHP?
Date: 14 Apr 2001 14:41:3 -0300
Message-ID: <853.504T160T8813113mlemos@acm.org> (raw)
In-Reply-To: <5.1.0.12.2.20010414083930.02f48dc8@flawless.net>

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

Look here to get Metabase for free:

http://phpclasses.UpperDesign.com/browse.html/package/20

Regards,
Manuel Lemos

Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--




view thread (2+ messages)  latest in thread

Message-ID: <853.504T160T8813113mlemos@acm.org>
Permalink:  ../853.504T160T8813113mlemos@acm.org/
Also on:    postgresql.org/message-id/853.504T160T8813113mlemos@acm.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: mlemos@acm.org, phil@glatz.com
  Subject: Re: bound variables with PHP?
  In-Reply-To: <853.504T160T8813113mlemos@acm.org>
  References: <5.1.0.12.2.20010414083930.02f48dc8@flawless.net> <853.504T160T8813113mlemos@acm.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox