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