
proszę o pomoc
pozdrawiam
<? // baza include(\"config.php\"); $page = $_GET['page']; $limit = 5; $pager = Pager::getPagerData($total, $limit, $page); $offset = $pager->offset; $limit = $pager->limit; $page = $pager->page; $zapytanie = \"SELECT * FROM tabela ORDER BY 'id' DESC LIMIT $offset, $limit\"; $id2 = $rekord2[0]; $email2 = $rekord2[1]; } if ($page == 1) // this is the first page - there is no previous page else // not the first page, link to the previous page for ($i = 1; $i <= $pager->numPages; $i++) { if ($i == $pager->page) else } if ($page == $pager->numPages) // this is the last page - there is no next page else // not the last page, link to the next page ?>