Re: Could be a FAQ: prepare/execute in PHP? - Mailing list pgsql-general

From Serguei Mokhov
Subject Re: Could be a FAQ: prepare/execute in PHP?
Date
Msg-id 06d901c17a98$54973d60$5dd9fea9@gunn
Whole thread Raw
In response to Re: Could be a FAQ: prepare/execute in PHP?  ("Brent R. Matzelle" <bmatzelle@yahoo.com>)
List pgsql-general
----- Original Message -----
From: Brent R. Matzelle <bmatzelle@yahoo.com>
Sent: Wednesday, November 28, 2001 3:25 PM

> --- Kirk Strauser <kirk@nmotioninc.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.


pgsql-general by date:

Previous
From: Masaru Sugawara
Date:
Subject: Re: yGNilbgzVT[
Next
From: "Ben-Nes Michael"
Date:
Subject: apend table 2 to table 1 in 1 row.