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.
$msg
NULL
Is it possible?
It is possible:
$msg = $this->load->view('some_view', '', true);
1.4m articles
1.4m replys
5 comments
57.0k users