[eluser]ThatsJustMe[/eluser]
Hello,
So basically, I would like to find out what is the best way to select out the data and display them in footer.php file, on each page?
Basically footer.php file on all pages are the same, and it's included with
Code:
$this->load->view('includes/footer');
Is there any easy way to include the information from database (latest 5 users (I know how to get out the data in CI)) into footer? Basically currently I have only one idea - write in each controller new function, which will add $data variable with all information from database to footer view, and then write it inside footer.php view file.
Any suggestions?
Best regards,
ThatsJustMe