[eluser]skunkbad[/eluser]
[quote author="rochellecanale" date="1353477240"]I've tried your code. But how can I view all the result in array? I tried echo $arr[0]; but nothing displays.[/quote]
I'm sorry, but the answer to your question is basic knowledge of PHP.
You may find using CodeIgniter very difficult or impossible without first learning more PHP. I say that in all humbleness. PHP frameworks are meant to provide PHP developers with shortcuts, structure, and organization. It's not practical to expect to be able to do much of anything in CodeIgniter without basic knowledge of PHP.