Can't Get the result of a query in a view - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Can't Get the result of a query in a view (/showthread.php?tid=44560) |
Can't Get the result of a query in a view - El Forum - 08-18-2011 [eluser]Unknown[/eluser] Hi Guys , what i'm doing is : in model : Code: class user_model extends CI_Model{ Code: class getusers extends CI_CONTROLLER { Code: <?php Filename: views/tableau.php Line Number: 2 Help ? Can't Get the result of a query in a view - El Forum - 08-18-2011 [eluser]Kamarg[/eluser] Try this. Code: $this->load->view('tableau',array('user' => $user)); |