Skip to content

Tag: codeigniter-3

how to create multi array in foreach CI without loop all

I have a problem from foreach to array why is everything loop? example output json i want. example output from my code this my code and this my CI_Controller how to loop only in “list :” line only? Answer Don’t encode in every loop iteration, create your array in the format you want and then…