Welcome Guest, Not a member yet? Register   Sign In
How to get data objects in controller
#6

I have got it working, not entirely sure why but it was the query in the model, I changed it from:

return $query->result_array();

to:

return $query->row_array();

and now it all works, thanks for your help it has helped me nail some other bits that weren't working too.
Reply


Messages In This Thread
RE: How to get data objects in controller - by barrypoore - 04-09-2018, 10:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB