I have an array and I need to change the value of a column but without looping, because it duplicates the results
$job_query = $this->db->query('SELECT * from job j , company c where j.company = c.id')->result_array();
$companyC = $this->db->query('SELECT j.company ,c.title, c.city, c.logo , c.logo , c.contact FROM job j , company c where c.id = j.company')->result_array();
I need the column company in the first query changes to be that
$job_query['company']=$companyC[key];
but I a get the key without loop of array_map