[eluser]Référencement Google[/eluser]
You should first do a print_r($ResultArray) to see how CI return your result, you will see then that is is returned as an array of objects that you may use with a foreach loop.
You also can make CI return an pure array of results by using $query->result_array()