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