[eluser]oliur[/eluser]
[quote author="andrewtheandroid" date="1257815014"][quote author="oliur" date="1257812455"]Thanks again. Just have had a quick read on Flashdata, sounds interesting. I'll see if that works.
Well, I am already doing that. I am setting $news_row and $comment_row in my controller and sending the result to the view to be displayed.
But my question is everytime I need to load newsDetails view I need to make those database calls (in the controller). That's not very efficient, is it?[/quote]
I can't see how else you would do it unless you look into something like caching or to put all of the newsDetail information in session data then pulling it from the session data.[/quote]
I don't know maybe I got over excited with CI and thought there must be a different way doing it. But the outline you set looks great. Especially that formatted html string looks totally new to me.