[eluser]Unknown[/eluser]
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_Loader::$view
Filename: controllers/blog.php
Line Number: 7
My blog.php (controller is)
<?php
class Blog extends CI_Controller{
public function index()
{
$this->home();
}
public function home(){
$this->load->view['homeview'];
}
}
?>
homeview.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</title>
<link rel="stylesheet" href="application/views/main.css" type="text/css"/>
</head>
<body>
<div id="big_wrapper">
<h1>Suresh KUMAR Mukhiya</h1>
</body>
</html>