要在 CodeIgniter 裡面使用 view,首先要先叫出一個 instance:

$CI =& get_instance();

 

接著使用這個 instance 來讀入 view 就好了:

$CI->load->view('view_page');