[eluser]Unknown[/eluser]
I'm new in codeigniter and have doubts about the home page...
I know how to do de normal pages, controller, model and view,
but when I'll mount the home page, I have to bring some information, like the last 5 news, from the page news that already exists...
for example, I'm doing a news site, and in the home page I have to bring 5 kinds of news, I have to do 5 selects like this with
specific parameters
$query_destaque = $this->db->get('noticias');
$dados['destaque'] = $query_destaque->result();
and after call in the home page?
Other doubt, I need to put a fixed column in my website, it'll appear in all pages, in the right side, how I do this? just do a include? or exists other way?
Thanks for helping