[eluser]alaa007[/eluser]
Thats very easy
first create the html files you wanna use in each view
for an example let say you wanna use the same header and footer in every view you wanna load
in the view directory create
header.php
and
footer.php
in case you are sending variables from controller, make sure to load them with the desired view, the array should include the variables you wanna print inside header.php and footer.php
ok let say in your controller you call this
Code:
$this->load->view('mainpage_view' , $data)
now in your mainpage_view.php file do the following
Code:
include 'header.php';
//your html code
//.......
//....
include 'footer.php';
and so on,
hope this is helpful