You are reassigning the variables in the first foreach loop for each iteration. You need to assign the new values as properties of each channel… I think…
Was some time since I did any php.
You are reassigning the variables in the first foreach loop for each iteration. You need to assign the new values as properties of each channel… I think…
Was some time since I did any php.