Received: from parkinson.uol.com.br (parkinson.uol.com.br [200.231.206.187]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3EHi7849337 for ; Sat, 14 Apr 2001 13:44:07 -0400 (EDT) (envelope-from mlemos@acm.org) Received: from amiga (200-221-72-147.dsl-sp.uol.com.br [200.221.72.147]) by parkinson.uol.com.br (8.9.1/8.9.1) with SMTP id OAA27712; Sat, 14 Apr 2001 14:44:19 -0300 (BRT) Date: 14 Apr 2001 14:41:3 -0300 From: "Manuel Lemos" Subject: Re: bound variables with PHP? To: "Phil Glatz" In-Reply-To: <5.1.0.12.2.20010414083930.02f48dc8@flawless.net> Message-ID: <853.504T160T8813113mlemos@acm.org> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Cc: pgsql-php@postgresql.org X-Mailer: THOR 2.6a (Amiga;TCP/IP) X-Archive-Number: 200104/12 X-Sequence-Number: 265 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 --