db->query($sql); return $q->result_array(); } public function add_news($text, $uname) { $sql = "INSERT INTO news VALUES(default, '$uname', '$text')"; return $this->db->query($sql); } public function del_news($id) { $sql = ""; return $this->db->query($sql); } } //nowhitesp