laravel display array data in view code example
Example 1: how to print array in laravel blade
echo implode("\n",$array);
Example 2: how to print array in laravel blade
echo implode("\n",array_collapse($array));
echo implode("\n",$array);
echo implode("\n",array_collapse($array));