CodeIgniter Forums

Full Version: They all get embbeded wthin the body tag except for the title
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]midooh[/eluser]
CodeIgniter embed my css and js files wthin the body tag
here is the code

function index()
{
$data=array(
"main_css_template"=>$this->config->item("global_template"),
"Javascript_library"=>$this->config->item("application_main_JS_library_file"),
"page_title"=>$this->config->item("Main_Page_title"));

$this->load->view("Home/Main.php",$data);
}


<head>
<link href=<?php echo $main_css_template; ?> rel="stylesheet" rev="stylesheet" />
[removed]
[removed]
<title><?php echo $page_title; ?></title>
</head>


They all get embbeded wthin the body tag except for the title
need help!

El Forum

[eluser]midooh[/eluser]
I fixed it happened cuz i was using utf8 for the file but why doe it happen?