[eluser]Salvatore Formisano[/eluser]
Thanks for replying mate,
the thing is, I tried filling an array with the data inside the foreach, and I then printed it. All the values were there... weird huh?
I also tried to look for other threads on the subject, no luck though.
Hopefully someone a bit more php/ci savvy than I am will help me through this