<?php require_once('Pager.class.php'); $host = ""; $user = ""; $pass = ""; $db = ""; $sql = 'select count(*) from LocalizationStrings'; $recordsCount = $row[0];//pobranie liczby rekordów try{ $pager = new Pager('idPagera'); $pager->SetTotalRecords($recordsCount); $pager->Make(true); $pag = $pager->Render(); $start = $pager->GetIndexRecordStart(); $end = $pager->GetIndexRecordEnd(); } catch (Exception $e) { } //zapytanie z uwzglenieniem stronicowania $sql = 'select IDKey , string from LocalizationStrings where IDLanguage =3 limit '.$start.','.($end - $start + 1); //...pobranie wyników i ich wyswietlenie { echo " "; } ?>
Jak do kodu dodac "update" rekordow ?