Php Array chunk

by Prabakaran 2012-04-25 14:24:23


$polygon = array(50,50, 75,25, 100,50, 125,75, 100,100, 75,125, 50,100, 25,75);
$app = array_chunk($polygon,3);

echo "<pre>";print_r($app);echo "</pre>";

Tagged in:

540
like
0
dislike
0
mail
flag

You must LOGIN to add comments