Posts by adailtondossantos • 1 point
2 posts
-
-1
votes3
answers98
viewsQ: Create combinations with a specific quantity in a given set of numbers
So, I’m new to php and I couldn’t, after many attempts and in different ways, create something like. I enter a value for the amount of numbers I will create in each combination in a given set of…
-
0
votes3
answers21786
viewsA: Array inside array... using push arrays
Thus: //Array to generate new indices $pos1=[1,2,3,4,5,6,7,8,9,10]; //Function [array_fill] $pos=array_fill(0,10,$pos1); Exit: array (size=10) 0 => array (size=10) 0 => int 1 1 => int 2 2…