Nick = $Nick; $this->Birthday = $Birthday; $this->City = $City; $this->ICQ = $ICQ; $this->Picture = $Picture; } } function getTeam() { unset($this->team); $this->team = array(); $query = mysql_query("SELECT nick, birthday, city, icqnr, pic FROM ".$prefix."Team", $this->link); while($member = mysql_fetch_object($query, "Member", array("nick", "birthday", "city", "icqnr", "pic"))) array_push($this->team, $member); return $this->team; } ?>