• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Error

#6
[eluser]georgerobbo[/eluser]
[quote author="OES" date="1250005005"]You are not returning anything from the get_sidecont model.

instead of

Code:
foreach($query->result_array() as $row)
        {
            $data['sidecont'][] = $row;
        }

do

Code:
return $query->result_array()
[/quote]

Such a more efficient way of doing it. Thank you very much.


Messages In This Thread
Model Error - by El Forum - 08-11-2009, 04:08 AM
Model Error - by El Forum - 08-11-2009, 04:36 AM
Model Error - by El Forum - 08-11-2009, 04:45 AM
Model Error - by El Forum - 08-11-2009, 04:48 AM
Model Error - by El Forum - 08-11-2009, 04:52 AM
Model Error - by El Forum - 08-11-2009, 08:57 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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