kod:
<?php $sql = 'select count(*) from profil'; $recordsCount = $row[5]; $pager = new Pager('id'); $pager->SetTotalRecords($recordsCount); $renderPager = $pager->Render(true); $start = $pager->GetIndexRecordStart(); $end = $pager->GetIndexRecordEnd(); $sql = 'select * from profil limit '.$start.','.($end - $start + 1); ?>
Pager.class.php jest w tym samym katalogu co ten plik, niemam pojęcia czemu to nie działa
