Esempio n. 1
0
 function FetchNth($N)
 {
     #
     # call Fetch first.
     # then call this function N times, where N is the number
     # returned by Fetch
     #
     if ($this->Debug) {
         echo "fetching row {$N}<br>";
     }
     $commit = new Commit($this->dbh);
     $myrow = pg_fetch_array($this->LocalResult, $N);
     $commit->PopulateValues($myrow);
     return $commit;
 }