|
use SQL like this
first page:
select * from TABLENAME limit 0,10;
second page:
select * from TABLENAME limit 10,10;
third page:
select * from TABLENAME limit 20,10;
i would probaly do something like this in my php:
$start = $start + 10;
pass $start from the first page to all subpages
|