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

Поиск
Список
Период
Сортировка
От Serguei Mokhov
Тема Re: Could be a FAQ: prepare/execute in PHP?
Дата
Msg-id 06d901c17a98$54973d60$5dd9fea9@gunn
обсуждение исходный текст
Ответ на Re: Could be a FAQ: prepare/execute in PHP?  ("Brent R. Matzelle" <bmatzelle@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Masaru Sugawara
Дата:
Сообщение: Re: yGNilbgzVT[
Следующее
От: "Ben-Nes Michael"
Дата:
Сообщение: apend table 2 to table 1 in 1 row.