I want to display the old data in blade after redirect. So if the old data is empty or doesn't exists it should display my passed task data multidimensional array.
Laravel:
redirect()->withInput();
Blade:
name ="task[{{$dayKey}}][]"
value="{{old('task.'.$dayKey.'.'.$key) or $task}}"
Separately {{old('task.'.$dayKey.'.'.$key) and $task works fine but
if i used or the output is every time 1.