0
Q:

how to store value in array in controller and pass to view

<p>{{ $key }}</p>
0
return view('hello')->with(['key' => 'value']);
0

New to Communities?

Join the community