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