I divided an array into chunks. I would like to ask how is it possible to loop in them in order to use every chunk as an array and print their data? Here is my code so far..
$chunks = array_chunk($newarray, 5, true);
foreach ($chunks as $index => $chunk) {
}
foreachloops? But what is the use of chunking in the first place then? Also, limit your code to the relevant part, all the xml and curl stuff just distracts.