Fetching db details displaying in a table dynamicalls - 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: Fetching db details displaying in a table dynamicalls (/showthread.php?tid=33443) |
Fetching db details displaying in a table dynamicalls - El Forum - 08-25-2010 [eluser]oldrock[/eluser] Hi.., I m new to code igniter , the issue is i m unable to fetch the multiples rows from a database using model and diplay the data in the view in a table structure dynamically could anybody plz help me with the sample code. thanks in advance Fetching db details displaying in a table dynamicalls - El Forum - 08-26-2010 [eluser]WanWizard[/eluser] Controller: Code: class Test Extends Controller Model: Code: class My_model Extends Model View: Code: <?php if ( $rows ) { ?> |