Merging three arrays with respect to their indices to single array
<p>I have three arrays each having different data. I want to join them as a single array where element at 0 index in each array must be at the same index in the newly created array.</p>

<p>For example:</p>

<pre><code> arr1[0]="Trailor";
 arr1[1]="Total Recall";

 arr2[0]="Life of Pi";
 arr2[1]="BDRIP";


 arr3[0]="350MB";
 arr3[1]="4.37GB"
</code></pre>

<p>Just I want the new array with any dimensions but the elements in above arrays should be accessible through the loops.</p>

<p>I want to print the elements in a table like below:</p>

<pre><code> &lt;table&gt;
      &lt;thead&gt;
            &lt;tr&gt;
                 &lt;td&gt;Film Title&lt;/td&gt;
                 &lt;td&gt;Type&lt;/td&gt;
                 &lt;td&gt;Size&lt;/td&gt;    
           &lt;/tr&gt;
      &lt;thead&gt;
             &lt;tr&gt;
                 &lt;td&gt;Trailor&lt;/td&gt;
                 &lt;td&gt;Life of Pi&lt;/td&gt;
                 &lt;td&gt;350MB&lt;/td&gt;    
           &lt;/tr&gt;
           &lt;tr&gt;
                 &lt;td&gt;Total Recall&lt;/td&gt;
                 &lt;td&gt;BDRIP&lt;/td&gt;
                 &lt;td&gt;4.37GB&lt;/td&gt;    
           &lt;/tr&gt;


 &lt;table&gt;
</code></pre>
