[eluser]Ivar89[/eluser]
Then $posts is not storing any data
and my appologies becuase I LOVE to help you further but I also recently started with CI and I dont know how to fix it from the top of my head:S and I am going home from work now because I am done for today^^
good luck with it, I'll come check again later tonight.
hope I helped you a little
small hint(probably already done it): just check every line that is suppose to help getting the result for $posts in your view.