Hello there is an array of this type
Array( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 ) I want to divide into two arrays and get in this form
Array( [0] => 1 [1] => 3 [2] => 5 ) and
Array( [0] => 2 [1] => 4 [2] => 6 ) array_chunk () didn't help, suggest avriant?