Welcome Guest, Not a member yet? Register   Sign In
How to use LayoutView with parser?
#12

It is important feature missing in CodeIgniter.
But here is the working solution
PHP Code:
$data['title'] = 'CI4 Tutorial';        
$view view('welcome_page');
echo 
$parser->setData($data)->renderString($view); 
Reply


Messages In This Thread
How to use LayoutView with parser? - by aleckyann - 08-14-2020, 10:40 AM
RE: How to use LayoutView with parser? - by karthik_code - 05-08-2022, 08:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB