Welcome Guest, Not a member yet? Register   Sign In
Load multiple models within same function of controller
#4

Your assigning row an object for views if it is passed into a $data it is an associated array.

To view that in a CodeIgniter view you need to assign it in the Controller to a $data associated array.

Try assigning $row = row_array();

You cannot just create a variable and access it in a view because they are not global.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Load multiple models within same function of controller - by InsiteFX - 04-20-2018, 04:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB