Posts by Felipe • 1 point
1 post
-
0
votes3
answers98
viewsA: Create combinations with a specific quantity in a given set of numbers
$arrOrder = Sort($seuArray); // to sort https://www.php.net/manual/en/function.sort.php $Elements = array_chunk($arrOrder, 5); // $Elements will be a multidimensional array where each position will…