view not loaded in second function |
I can't explian why the profile() function just ends up in a white page.
Could someone explain or give me a hint to check for something? PHP Code: Routes: Code: namespace App\Controllers\Org;
echo view('design1/template', $data);
shoudl be like this (instead echo) ; return view('design1/template', $data);
You may need to use the saveData option on your views to clear them out. (
PHP Code: [saveData => false] CodeIgniter 4 User Guide -> Views -> The saveData Option What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(05-28-2023, 11:02 PM)InsiteFX Wrote: You may need to use the saveData option on your views to clear them out. (wow! Thank You! |
Welcome Guest, Not a member yet? Register Sign In |