Welcome Guest, Not a member yet? Register   Sign In
Query runs OK outside of CI, but not in.
#3

[eluser]richard_ctv[/eluser]
[quote author="Crimp" date="1186227065"]Try:

Code:
echo '<pre>';
print_r($query->result());
echo '</pre>';
[/quote]

Thanks. That's embarrassing. :-)

I had pasted some older code in that had the return asigned to $result and forgot that it is a CI object that is returned.

Silly me, up too late last night guess.


Messages In This Thread
Query runs OK outside of CI, but not in. - by El Forum - 08-03-2007, 11:05 PM
Query runs OK outside of CI, but not in. - by El Forum - 08-04-2007, 12:31 AM
Query runs OK outside of CI, but not in. - by El Forum - 08-04-2007, 12:44 AM
Query runs OK outside of CI, but not in. - by El Forum - 08-04-2007, 02:04 AM
Query runs OK outside of CI, but not in. - by El Forum - 08-04-2007, 07:20 AM
Query runs OK outside of CI, but not in. - by El Forum - 08-04-2007, 05:09 PM
Query runs OK outside of CI, but not in. - by El Forum - 08-04-2007, 05:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB