in CI3, I just have to add parameter like:
$page = $this->load->view('page',$data,true);
how i do this in CI4?, it seems the view function has been changed.
The helper function `view()` simply returns a string. You can capture that however you like, and when you are ready you either echo it or return it from your Controller.
08-07-2021, 04:54 AM (This post was last modified: 08-07-2021, 05:43 AM by munggaran.)
(08-07-2021, 04:43 AM)MGatner Wrote: The helper function `view()` simply returns a string. You can capture that however you like, and when you are ready you either echo it or return it from your Controller.