RE: How to load a view in CodeIgniter?
To display the view on the screen need to load the view from the controller using $this -> load ->view() method
Pass the name of view file in the method
$this -> load ->view(‘your_view_page’);
Pass Data to View
To also pass the value to the view for this create an Array and initialize the values and pass in the method with view name e.g
$this -> load ->view(‘your_view_page’,$data);