Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 3 Model best practices
#2

You can convert the arrays to object like this:

PHP Code:
$object = (object)$array
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Codeigniter 3 Model best practices - by LiMingzhe - 07-19-2019, 03:30 PM
RE: Codeigniter 3 Model best practices - by InsiteFX - 07-20-2019, 08:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB