You would need to compact the array data from controller in your return view() in order to use it in blade. You may also have to do a @foreach in blade to loop through the array to get the values
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.