![]() |
how to load two view CodeIgniter ($data and compact ) in same time - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: how to load two view CodeIgniter ($data and compact ) in same time (/showthread.php?tid=75141) |
how to load two view CodeIgniter ($data and compact ) in same time - hosamghazi - 12-29-2019 i am new in CodeIgniter framware i tried to make this work in same time but not working
else if i stop one of it this line
1- $this->load->view('account/build_profile', $data);
2 - $this->load->view('account/build_profile',compact('country','industry'));
of this code
thanks
Code: function build_profile(){ |