Calling view inside view not working anymore |
Hi,
Calling view inside view not working anymore. I have this code in my view <div> <?php $this->load->view('client');?> </div> and I get this error "Call to a member function view() on null"
Is it Ci 3 or C4 if 4+ use
PHP Code: view('client') // or subfolder/client https://codeigniter4.github.io/CodeIgnit...views.html Codeigniter First, Codeigniter Then You!!
yekrinaDigitals
(01-06-2024, 07:57 PM)luckmoshy Wrote: Is it Ci 3 or C4 if 4+ use well I posted it here on CI3. I got a runaround, I just use the PHP Code: require_once() |
Welcome Guest, Not a member yet? Register Sign In |