Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

split array in 2 parts php

$pieces = array_chunk($array, ceil(count($array) / 2));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #split #array #parts #php
ADD COMMENT
Topic
Name
8+9 =