Passing child views an array - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Passing child views an array (/showthread.php?tid=33434) |
Passing child views an array - El Forum - 08-25-2010 [eluser]Unknown[/eluser] Hi there, newbie here, I am loading a View in, in that view I'm loading 2 partial views, they require an array each, I can pass either one of them an array, just by passing it to the parent, but not both. What's the best way? Thanks, Phil Passing child views an array - El Forum - 08-25-2010 [eluser]danmontgomery[/eluser] Code: $data = array( Passing child views an array - El Forum - 08-25-2010 [eluser]Unknown[/eluser] Perfect thanks. |