Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
Load View:
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
Eg:
$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);