FetchRow(DBResult::FT_NUM); } public function FetchAssoc() { return $this->FetchRow(DBResult::FT_ASSOC); } public function FetchValue() { $r = $this->FetchRow(DBResult::FT_NUM); return $r[0]; } public function Reset() { $this->Seek(0); } // fetch all results public function FetchAllAssoc() { $arr = array(); while(!is_null($a = $this->FetchAssoc())) { $arr[] = $a; } return $arr; } // fetch all values public function FetchAllValues() { $arr = array(); while(!is_null($a = $this->FetchValue())) { $arr[] = $a; } return $arr; } } ?>