how to print this type of array? : Array
(
    [0] => Array
        (
            [0] => 1
        )

    [1] => Array
        (
            [0] => 2
        )

    [2] => Array
        (
            [0] => 3
        )

    [3] => 

    [4] => 

    [5] => 

    [6] => 

    [7] => 

    [8] => 

    [9] => 

    [10] => 

    [11] => 

    [12] => 

    [13] => 

    [14] => 
)


How to print above array using foreach?I tried by using foreach like this:

$i = 0;

foreach($array as $arr)

{

echo $arr[$i];

$i++;

}

But the result is empty.Please help me to solve this.