How to pass multiple variables by controller to blade file?

$valiable1 = 'Best'; $valiable2 = 'Interview'; $valiable3 = 'Question'; return view('frontend.index', compact('valiable1', valiable2', valiable3')); In you View File use can display by {{ $valiable1 }} or {{ $valiable2 }} or {{ $valiable3 }}

Popular posts from this blog

SQL In Static Id Wise Record Skip After Show Result