table class help - 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: table class help (/showthread.php?tid=45389) |
table class help - El Forum - 09-19-2011 [eluser]Unknown[/eluser] I am trying ot use the table class to display a table of data I have retrieved from my database. My model method looks like this: Code: function index() { My view (options_view.php) code looks like this: Code: if(isset($records)) { I can use a foreach loop to loop through the $records variable and display the results but would very much like to make use of the awesome table helper class. any ides on where I am going wrong here? Mike. |