Re: pagination problem in postgresql need help

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: pagination problem in postgresql need help
Date: 2011-06-19 08:37:13
Message-ID: itkcfp$d3t$1@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 2011-06-17, hatem gamal elzanaty <hatem(at)softpro(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Emi Lu 2011-06-20 13:29:25 Re: pagination problem in postgresql need help
Previous Message Samuel Gendler 2011-06-19 03:51:55 Re: Append n Rows into a Single Row