Table class produces no output - 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 produces no output (/showthread.php?tid=51265) |
Table class produces no output - El Forum - 04-26-2012 [eluser]Unknown[/eluser] >>> Update Replacing Code: echo $this->table->generate($results); Code: echo $this->table->generate(); So, it looks like the $results is killing table. However, the for loop in people_page_view is quite happy with the table. Any ideas?????????????? A view is loaded with Code: echo $this->table->generate($results); No output is produced by table->generate Can anyone see what I've done wrong? Les Code: Here's people_page.php Here's the generated page (all from the foreach loop) Hello People_Page! Mahler | Glen Rasmus | David Rutters | Pattie Schumacher | Michael Willenbrink | Jim Rimpley | Lynn Binder | Ken Raney | Matthew Jensen | Paul Scott | John Smith | Lorene Zimmerman | Raymond Bieber | Paul Sanchez | Carlos Scanlon | Michael Macleod | Jeff Baily | Jake Rausch | Jacob Pearson | Freya Sheehan | John Here's the CTL-U Hello People_Page!<!-- header.php --> <br>Mahler | Glen<br>Rasmus | David<br>Rutters | Pattie<br>Schumacher | Michael<br>Willenbrink | Jim<br>Rimpley | Lynn<br>Binder | Ken<br>Raney | Matthew<br>Jensen | Paul<br>Scott | John<br>Smith | Lorene<br>Zimmerman | Raymond<br>Bieber | Paul<br>Sanchez | Carlos<br>Scanlon | Michael<br>Macleod | Jeff <br>Baily | Jake<br>Rausch | Jacob<br>Pearson | Freya<br>Sheehan | John Table class produces no output - El Forum - 04-26-2012 [eluser]InsiteFX[/eluser] Please wrap your code in code tags when posting code! It makes it alot easier to read... |