a oto fr skryptu
<?php require_once('Connections/rodzina.php'); ?> <?php require_once('Pager.class.php'); $wh[] = 'Rodzina = '.((int)$_GET['Rodzina']); $wh[] = 'miasto = ''.$_GET['miasto'].'''; else $where = ''; $query_ra_listaos = 'SELECT count(*) FROM drzewo '.$where; $recordsCount = $row[0]; $pager = new Pager('idPagera', null); $pager->SetTotalRecords($recordsCount); $pager->Make(true); $pag = $pager->Render(); $start = $pager->GetIndexRecordStart(); $end = $pager->GetIndexRecordEnd(); $sql = 'select * from drzewo '.$where.' order by miasto asc limit '.$start.','.($end - $start + 1); ?> a tu wyświetlanie tabeli <br /><?php do { ?> <table width="70%" border="0" cellpadding="1" cellspacing="1" bordercolor="#999999"> <th width="44%" bordercolor="#CCCCCC" bgcolor="#8DAACB" valign="top" scope="col"> <span class="tekst"><a href="osobie.php?userID=<?php echo $row_ra_listaos['userID']; ?>" target="_top"> <th width="34%" bordercolor="#CCCCCC" bgcolor="#8DAACB" scope="col"> <span class="tekst"> <th width="11%" bordercolor="#CCCCCC" bgcolor="#8DAACB" scope="col"> <span class="tekst"><img src="<?php echo $row_ra_listaos['fotoURL']; ?>" width="20" height="30" border="0" /></span></th> </table> <?php ?>