Pages

Sunday, April 6, 2014

Get sub array in PHP

array_slice()
$subArray = array_slice($arr,0,4);

No comments:

Post a Comment