Welcome Guest, Not a member yet? Register   Sign In
mysql_fetch_object
#2

[eluser]WanWizard[/eluser]
It's a bit pointless to do this, you're just creating a class with properties. $query->result() will return that as well, no need to define separate classes (and don't use result_array(), and then convert the result back into an object).


Messages In This Thread
mysql_fetch_object - by El Forum - 08-18-2010, 04:31 AM
mysql_fetch_object - by El Forum - 08-18-2010, 07:23 AM
mysql_fetch_object - by El Forum - 08-18-2010, 08:25 AM
mysql_fetch_object - by El Forum - 08-18-2010, 10:57 AM
mysql_fetch_object - by El Forum - 08-18-2010, 11:45 AM
mysql_fetch_object - by El Forum - 08-18-2010, 01:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB