title: How to cut array by total column and make new array for the other
body: <p>I have array example :</p>
  
  <pre><code>array(21) {[0]=&gt;1 [1]=&gt;"AAA" [2]=&gt;"BBB" [3]=&gt;"CCC" [4]=&gt;"DDDD" [5]=&gt;"EEE" [6]=&gt;"FFF" [7]=&gt;2 [8]=&gt;"GGG" [9]=&gt;"KKK" [10]=&gt;"LLL" [11]=&gt;"MMM" [12]=&gt;"NNN" [13]=&gt;"OOO" [14]=&gt;3 [15]=&gt;"PPP" [16]=&gt;"QQQ" [17]=&gt;"RRR" [18]=&gt;"SSS" [19]=&gt;"TTT" [20]=&gt;"UUU" }
  </code></pre>
  
  <p>and, cut by 7 column and create new array, example :</p>
  
  <pre><code>array(21) {[0]=&gt;1 [1]=&gt;"AAA" [2]=&gt;"BBB" [3]=&gt;"CCC" [4]=&gt;"DDDD" [5]=&gt;"EEE" [6]=&gt;"FFF"} 
  array(21) {[0]=&gt;2 [1]=&gt;"GGG" [2]=&gt;"KKK" [3]=&gt;"LLL" [4]=&gt;"MMM" [5]=&gt;"NNN" [6]=&gt;"OOO"}
  array(21) {[0]=&gt;3 [1]=&gt;"PPP" [2]=&gt;"QQQ" [3]=&gt;"RRR" [4]=&gt;"SSS" [5]=&gt;"TTT" [6]=&gt;"UUU"}
  </code></pre>
  
  <p>So,How to cut array by total column and make new array for the other?</p>
  
  <p>Thankyou</p>