|
l<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Hello extends CI_Controller {
public function index() {
$data('header') = 'header';
$data('body') = 'body';
$this -> load -> view ('hello_view',$data);
}
}
ocalhost/ci 提示:
Fatal error: Can't use function return value in write context in D:\wamp\www\ci\application\controllers\hello.php on line 6
不知道是什么原因导致的,请教大家,怎么解决??? |
|