vincentmic
New member
I am using PHP to write a program and the function array_chunk is not working for me . This function is used to split an array into two and the format of this function is array array_chunk ( array $input , int $size [, bool $preserve_keys = false ] ) .
When i try t use this function i am passing array as a first parameter and entering an integer as a second parameter but its not giving me the result i am expecting or i think i should get. Please can some body create a very small script for me and paste it here which shows the example of using PHP function array_chunk . Please also write the out put of the function with the example code you paste here.
When i try t use this function i am passing array as a first parameter and entering an integer as a second parameter but its not giving me the result i am expecting or i think i should get. Please can some body create a very small script for me and paste it here which shows the example of using PHP function array_chunk . Please also write the out put of the function with the example code you paste here.