Laravel 4 Blade Template Array multidimensional -


friends, need show using laravel 4 + blade following array:

array (size=2)   'item1' =>      array (size=5)       0 => string 'a' (length=1)       1 => string 'b' (length=1)       2 => string 'c' (length=1)       3 => string 'd' (length=1)       4 => string 'e' (length=1)   'item2' =>      array (size=5)       0 => string 'overall result a' (length=48)       1 => string 'overall result b' (length=20)       2 => string 'overall result c' (length=18)       3 => string 'overall result d' (length=43)       4 => string 'overall result e' (length=28) 

i not able show 2 array in same loop

exemple:

@foreach($items $item)     <div class="track">         <div class="track_citys">{{ $array1 }}</div>         <div class="track_points">{{ $array2 }}</div>     </div>     <div class="clearfix"></div> @endforeach 


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -