[eluser]chefnelone[/eluser]
tried, but still not working
It seems like I can't get base_url() nor link_tag() from header.php
I guess I'm loading header.php in wrong way. This is what I did (and all I did):
I have this line to get a css file in views/includes/header.php:
<link rel=“stylesheet” href=”<?php echo base_url();?>/css/style.css” type=“text/css” media=“screen” />
then, header.php is loaded within:
views/index.php
whith:
<?php $this->load->view('includes/header'); ?>
and first of all, this is the controller loading .../views/index.php:
class Welcome extends Controller {
function Welcome()
{
parent::Controller();
}
function index()
{
$this->load->view('index');
}
}