![]() |
Help displaying an array: - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Help displaying an array: (/showthread.php?tid=44296) |
Help displaying an array: - El Forum - 08-10-2011 [eluser]theknight[/eluser] Model: Code: function dieAllegies($child_id) { Controller: Code: function dietAll(){ View Code: <tr class="alt"> I know the array has been set because it's outputted like this from the model: Array ( [0] => Array ( [Id] => 3 [Requirement] => No butter[Details] => test [Child_Id] => 4 ) [1] => Array ( [Id] => 4 [Requirement] => No Sweets [Details] =>test [Child_Id] => 4 ) ) As you can see there are 2 rows. With them both nested within another array |