[eluser]Martin Rusev[/eluser]
Hello Everybody,
I am pretty new to Codeigniter.( In the moment i am developing my second project )
I want to create function that loads php files dynamicly and i am wondering is it possible.
To illustrate better what i mean, here is the real function :
Code:
function projects($project_name)
{
$this->load->view('includes/header', $data);
$this->load->view('work/projects'.$project_name , $data);
$this->load->view('includes/footer');
}
Is this possible?
There is no database in this project and i am using only views and controllers
Thank you in advance for your responses