-2
不同类别ID的行我传递了员工id和类别id到这个函数。 此员工在severval类别下为某些用户发布了一些要求。和员工张贴相同的用户提供相同类型的多个times.so我想,那些重复单record.anybody知道,请帮忙我想要使用codeigniter
public function get_data_print($id,$cat_id) {
$this->db->from('jil_requirementbrief');
$this->db->where('jil_requirementbrief.rqm_managedby', $id);
$this->db->where('jil_requirementbrief.rqm_category', $cat_id);
$query = $this->db->get();
$this->db->from('jil_users');
$this->db->where('jil_users.usr_id',$row->rqm_customerid);
$query2= $this->db->get()->row_object();
$row->users_name = $query2->usr_name;
$row->users_comp = $query2->usr_company;
}
Hello @ user6021279请更具体地解释您的问题,例如我们可以以适当的方式帮助您。谢谢! –