result = $GLOBALS['phpgw']->db; $this->result->query('SELECT * FROM phpgw_agile_projects',__LINE__,__FILE__); if($this->result->num_rows()) { $i=0; while ($this->result->next_record()) { $this->projId[$i] = array($this->result->f('proj_id')); $this->db[$i] = array( $this->result->f('proj_name'), $this->result->f('proj_owner'), $this->result->f('proj_description')); //print_r($this->db); $i++; } } } }