Hy,
I have a very big question .
I have an array like this one $array[0] = 12, $array[1] = 20, $array[2] = 18 and based on this array i want to give a value to this array $array_go[12][20][18] = $value because i’m building a recursive function to create a multidimensional array with lots of subarrays.
Thank you very much .
P.S. : Is it more simple if I have a $variable = '[12][15][20]'; and somehow to create $array{$variable} = value ; because i can't seem how to do it ?
To be honest, I can’t really follow what you’re asking as I think there is a lot of unneeded information obscuring your actual question.
For starters, you can try the following code: