Wanting to display array in a specific way
<p>I have an array like : <code>$array1</code><br>
I am using loop to display value of array. I want to display all array value.<br>
but needed display like this - </p>

<pre><code>Slovenly Europe
           1. [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
            [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg

        2. [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
        [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg


Greece
            1. [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
            [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg

        2. [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
        [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg
        3. [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
        [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg



 foreach($array1 as $v){
    $v['storename'];  } 


$array1  = Array
(
    [0] =&gt; Array
        (
            [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
            [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg

         [storename] =&gt; Slovenly Europe
    )

[1] =&gt; Array
    (
        [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
        [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg

        [storename] =&gt; Slovenly Europe
    )

[2] =&gt; Array
    (
       [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
        [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg

       [storename] =&gt; Slovenly Europe
    )

[3] =&gt; Array
    (
       [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
        [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg

        [storename] =&gt; Greece
    )

[4] =&gt; Array
    (
       [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
        [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg

        [storename] =&gt; Greece
    )

[5] =&gt; Array
    (
       [0] =&gt; /7/0/702-100_thumb-sm_1.jpg
        [thumbnail] =&gt; /7/0/702-100_thumb-sm_1.jpg

        [storename] =&gt; Greece
    )
</code></pre>
