Controller
<?php
class HelloWorld extends Controller {
  function 
HelloWorld() {
    
parent::Controller();
  }

  function 
index() {
    
$data['title']='Test';
    
$data['message']='Hello world!';
    
$this->load->view('helloworld',$data);
  }
}
?>
View
<html>
<head>
<title><?php echo $title;?></title>
</head>
<body>
<h1><?php echo $message?></h1>
</body>
</html>
Performance
Response time:              0.03 secs
Transaction rate:         305.90 trans/sec