[eluser]jzmwebdevelopement[/eluser]
[quote author="CroNiX" date="1328651625"]Um, in your view (header.php), you are trying to echo $text, which you are not passing to the view. Change it to $css, which you ARE passing
[/quote]
My git is my new install and I tried a new value
Code:
class Header extends CI_Controller {
public function index()
{
$data = array();
$data['text'] = "TEXT";
$this->load->vars($data); // Lets all views see $data
$this->load->view('admin/assets/header.php' , $data);
}
}
Code:
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en-us" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en-us" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en-us" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en-us" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="viewport" content="width=device-width">
<?php echo $text; ?>
</head>
<body>