From: Gerd Terlutter <gerd@MplusB.de>
To: Ângelo Marcos Rigo <angelo_rigo@yahoo.com.br>
Cc: Lynna Landstreet <lynna@gallery44.org>
Cc: pgsql-php@postgresql.org
Subject: Re: Paging results
Date: Tue, 12 Aug 2003 09:05:02 +0200
Message-ID: <3F38919E.109@MplusB.de> (raw)
References: <20030811181439.68382.qmail@web14805.mail.yahoo.com>
Ângelo Marcos Rigo wrote:
> Do you have PEAR?
>
> There is in
> http://pear.php.net/package-info.php?package=DB_Pager,
> the dbpager package, wich works very well
>>Now, a new question:
>>
>>Does anyone know if there's a PHP class anywhere out
>>there for paging
>>results from a PostgreSQL query, similar to
>>Paginator or ezResults which do
>>that for MySQL? Or do I have to do the code for that
>>from scratch?
>>
>>Alternatively, would it be difficult to adapt one of
>>those to working with
>>PostgreSQL instead of MySQL?
>>
>>
>>Lynna
Hi all,
PEAR is general a good idea. I use PEAR::DB as wrapper for access do
different RDBMS, in my case PG and MySQL. nxet week i'll start with
transaction on MySQL3.23.51, but don't know what happends. Other
functionality is given during use PEAR::DB. This package supports 10 or
12 RDBMS. To convert MySQL to PG try this:
http://ns2.ziet.zhitomir.ua/~fonin/projects/my2pg/my2pg_man.html
Another good tipp is this:
http://www.rot13.org/~dpavlin/sql.html
If you have a good config-file for your source, you can switch by
changing only the param 'dbtype' e.g. psql or mysql.
excuse my bad english,
Gerd
--
--------------------------------------------------------
# Gerd Terlutter | Mueller+Blanck Software GmbH #
# gerd@MplusB.de | Gutenbergring 38 #
# gerd.terlutter@web.de | D-22848 Noderstedt #
# tel:0171/6992579 | tel:+49 40 500 171-1 #
# Buero:040/500171-17 | fax:+49 40 500 171-71 #
--------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: gerd@MplusB.de, angelo_rigo@yahoo.com.br, lynna@gallery44.org
Subject: Re: Paging results
In-Reply-To: <3F38919E.109@MplusB.de>
References: <20030811181439.68382.qmail@web14805.mail.yahoo.com> <3F38919E.109@MplusB.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox