Listing 15.11. Przetwarzanie wszystkich rekordów z tabeli rzeka
foreach ($Rzeka->fetchAll() as $tmp) {
    ...
}