Load view into a variable

Viewed 43328

Is there any way that I can get content of a PHP file in to variable?

I want to do this

$msg = $this->load->view('some_view');

but when I do this, $msg is NULL.

Is it possible?

3 Answers
Related