O
O
ortsuev332019-11-12 21:32:46
Laravel
ortsuev33, 2019-11-12 21:32:46

Is it ok to take an array and iterate over it?

return redirect(route('add'))->with('status',[$fails ]);

I accept
@foreach (session('status') as $k)
$k
@endroreach

Or are there better options?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question