Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Cannot use object of type CI_DB_mysql_result as array
#6

[eluser]Aken[/eluser]
Can't help you further without knowing what $arrRows looks like going into the function. The error itself is saying that you're trying to use an object as an array. So you should turn your $arrRows into an array, then use your original IF statement.


Messages In This Thread
Fatal error: Cannot use object of type CI_DB_mysql_result as array - by El Forum - 09-07-2009, 08:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB