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

[eluser]MEM[/eluser]
I have:

1) grab the query() object.

2) Use the result_array() method:


Works.

Here the steps:
Code:
$query = $this->db->query($strSQL);
        
$arrQuery = $query->result_array();


Thanks a lot for the tip. Smile


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



Theme © iAndrew 2016 - Forum software by © MyBB