Re: Could be a FAQ: prepare/execute in PHP?

From: "Serguei Mokhov" <sa_mokho(at)alcor(dot)concordia(dot)ca>
To: "Brent R(dot) Matzelle" <bmatzelle(at)yahoo(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Could be a FAQ: prepare/execute in PHP?
Date: 2001-12-01 18:34:53
Message-ID: 06d901c17a98$54973d60$5dd9fea9@gunn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

----- Original Message -----
From: Brent R. Matzelle <bmatzelle(at)yahoo(dot)com>
Sent: Wednesday, November 28, 2001 3:25 PM

> --- Kirk Strauser <kirk(at)nmotioninc(dot)com> wrote:
> > So, does anyone have any suggestions for how we can work around this, or how
> > other people have handled the situation, or even why the PostgreSQL API is
> > better or worse than the MySQL/Interbase API?
>
> You might do yourself a favor and do your code conversion with the
> PHPLIB (http://phplib.sourceforge.net/) database abstraction layer.
> It is very intuitive and easy to use and allows you to change between
> PG, MySQL, Oracle, etc with virtually no re-coding.

As of 4.0.6 PHP has a DBX extension, which is an equivalent to Perl's DBI
and does whatever you described above. We used it for a quite a while
on a production system without having any problems of any sort.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ben-Nes Michael 2001-12-02 12:57:24 apend table 2 to table 1 in 1 row.
Previous Message James Thornton 2001-12-01 09:44:52 update returns 1, but no changes have been made