From: Jasen Betts <jasen@xnet.co.nz>
To: pgsql-sql@postgresql.org
Subject: Re: pagination problem in postgresql need help
Date: 19 Jun 2011 08:37:13 GMT
Message-ID: <itkcfp$d3t$1@reversiblemaps.ath.cx> (raw)
References: <4DFBD8A0.9000503@softpro.bz>
On 2011-06-17, hatem gamal elzanaty <hatem@softpro.bz> wrote:
> hi,
> please see this code
>
> select aiah_number.aiah_number_id, aiah_number.aiah_number,
...
> order by rank_value desc limit 1 offset 0;
>
> and this code
>
> select aiah_number.aiah_number_id, aiah_number.aiah_number,
...
> order by rank_value desc limit 1 offset 1;
> suppose i have 200 hundred record and i want to display records in pages
> one record per page i'm facing a problem even if i'm running the script
> through phppgadmin it's only display the first record in the page only
> no more no less in the php code it display record 1 and records byound
> 180 and so on
>
> can you help in that issue ?
check that the PHP query is actualy what you think it is.
--
⚂⚃ 100% natural
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jasen@xnet.co.nz
Subject: Re: pagination problem in postgresql need help
In-Reply-To: <itkcfp$d3t$1@reversiblemaps.ath.cx>
* 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