Welcome Guest, Not a member yet? Register   Sign In
They all get embbeded wthin the body tag except for the title
#1

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

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




Theme © iAndrew 2016 - Forum software by © MyBB