Return to Snippet

Revision: 36726
at November 25, 2010 10:57 by jonathanpglick


Initial Code
$multidimensional_array = array_chunk($array, (ceil(count($array,) / $num_columns)));

Initial URL

                                

Initial Description

                                

Initial Title
Split array into n arrays (columns)

Initial Tags

                                

Initial Language
PHP