• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error explanation

#2
[eluser]Harold Villacorte[/eluser]
It looks like a typo. Module controllers should extend MX_Controller.

In the model make sure that the database class is loaded and try something like this maybe:
Code:
$query = $this->db
    ->order_by($orderby)
    ->get('widg_html');
return ($query->num_rows() > 0) ? $query : FALSE;


Messages In This Thread
error explanation - by El Forum - 04-13-2013, 12:39 PM
error explanation - by El Forum - 04-13-2013, 03:22 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.