Organizational Research By

Surprising Reserch Topic

Question:array_chunk:how to use array_chunk using php?


 

$input_array = array('a', 'b', 'c', 'd', 'e');
print_r(array_chunk($input_array, 2));
print_r(array_chunk($input_array, 2, true));
?>

asked Sep 13, 2013 in PHP by ashish singh
edited Sep 12, 2013
0 votes
13 views



Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

...