-2

I want to loop through the values and display it in blade template (Array contains of results inside elements and then the values to fetch.

enter image description here

Ircover
  • 2,406
  • 2
  • 22
  • 42

1 Answers1

1

In blade you should use blade's @foreach function:

@foreach($arr['result']['elements'] as $val)
    {{-- You ar in loop and write your html here --}}
@endforeach

Hope this helps you

Malkhazi Dartsmelidze
  • 4,783
  • 4
  • 16
  • 40