CodeIgniter Forums
They all get embbeded wthin the body tag except for the title - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: They all get embbeded wthin the body tag except for the title (/showthread.php?tid=23189)



They all get embbeded wthin the body tag except for the title - El Forum - 10-03-2009

[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!


They all get embbeded wthin the body tag except for the title - El Forum - 10-03-2009

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