![]() |
Problem with arrays - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Problem with arrays (/showthread.php?tid=64395) |
Problem with arrays - Chandini - 02-16-2016 My array structure will be like this .. In this array I am getting Sub arrays Dynamically.. PHP Code: Array But I want to change the array structure like This .. If NewFriend Is Same Value ... I want To out put Like This .. Is it possible..? PHP Code: Array RE: Problem with arrays - shaheb - 02-16-2016 (02-16-2016, 02:14 AM)Chandini Wrote: My array structure will be like this .. In this array I am getting Sub arrays Dynamically.. HERE you go. PHP Code: $new_array = array(); RE: Problem with arrays - Chandini - 02-16-2016 (02-16-2016, 06:57 AM)shaheb Wrote:(02-16-2016, 02:14 AM)Chandini Wrote: My array structure will be like this .. In this array I am getting Sub arrays Dynamically.. Thanks .. |