![]() |
Beginner question for getting rows to show in view - 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: Beginner question for getting rows to show in view (/showthread.php?tid=48993) |
Beginner question for getting rows to show in view - El Forum - 02-04-2012 [eluser]tonyhh[/eluser] answered thank you Beginner question for getting rows to show in view - El Forum - 02-04-2012 [eluser]msgmash[/eluser] You're returning the array at the bottom of the loop in the first bit of code. So it only puts the first row into the array, then exits the function before doing the second pass of the loop. Beginner question for getting rows to show in view - El Forum - 02-04-2012 [eluser]tonyhh[/eluser] Ah thank you! |