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

[eluser]JonoB[/eluser]
Ok cool, thanks for the response.

I guess that would work, although its a bit back-to-front comparred to how I've done it in the past. And, if I understand correctly, it means looping through the recordset twice.

Its a pity that I can't do something like:
Code:
$query = $this->db->query($sql, "UserVO");
return $query->result()

But, your scenario is workable'ish.


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