db, $s); if (mysqli_num_rows($q) > 0){ $r = mysqli_fetch_array($q); $this->id = $r["id"]; $this->summary = text($this, $r["summary"]); $this->legal = text($this, $r["legal"]); $this->logo = $r["logo"]; $this->icon = $r["icon"]; } } } ?>