db, $s); if (mysqli_num_rows($q) > 0){ $r = mysqli_fetch_array($q); $this->id = $id; $this->lang = new Lang($this->db, $r["lang"]); $this->file = $r["file"]; } } } ?>