nameDesc = $GLOBALS['phpgw']->db; $this->usrProj = $GLOBALS['phpgw']->db; $this->usrTasks = $GLOBALS['phpgw']->db; $this->nameDesc->query('SELECT proj_name, proj_description FROM phpgw_agile_projects WHERE proj_id='.$projId,__LINE__,__FILE__); while($this->nameDesc->next_record()) { $this->resultNameDesc = $this->nameDesc->f('proj_name'); $this->resultProjDesc = $this->nameDesc->f('proj_description'); } $this->usrProj->query('SELECT uprojects_id_user,uprojects_user_admin FROM phpgw_agile_users_projects WHERE uprojects_id_project='.$projId,__LINE__,__FILE__); while($this->usrProj->next_record()) { $this->resultUidNumber[] = $this->usrProj->f('uprojects_id_user'); $this->resultUserAdmin[] = $this->usrProj->f('uprojects_user_admin'); } $this->usrTasks->query('SELECT tasks_id_owner from phpgw_agile_tasks WHERE tasks_id_proj='.$projId,__LINE__,__FILE__); while($this->usrTasks->next_record()) { $this->resultTasks[] = $this->usrTasks->f('tasks_id_owner'); } // print_r($this->resultUidNumber); // print_r($this->resultUserAdmin); }//End soeditProject }//End Class soEditElement ?>