Load view into a variable June 11, 2023 by Tarik It is possible: $msg = $this->load->view('some_view', '', true);