my initial question written on the other day was:
hi,
i've a table with 100 records.
i displayed the data into 10 records per page, therefore i've 10 pages of data.
using this query - "select * from table order by $column $direction limit $set_limit $limit_size"
where $column is the table column name
$direction - asc or desc
Assuming i'm at page 1, I can view the display data (1,2,3,4..10) in ascending order by default. But when i want to display the data in descending order for page 1, I'm getting descending order data from page 10.
I want to be able to see the page 1 data in ascending and in descending order. This applies to all other pages. (2,3,4...10)
Can someone show me how this can be done, thanks.
But i did not know what the other helpers are referring to.
That is why i thought the problem lies with the sql statement.
Your assistance in this matter is greatly appreciated, thanks.