how to echo array in laravel blade file code example
Example 1: how to print array in laravel blade
@php
var_dump($arr);
@endphp
Example 2: how to print array in laravel blade
echo implode("\n",array_collapse($array));
@php
var_dump($arr);
@endphp
echo implode("\n",array_collapse($array));