I have a large multidimentional array that I am looping through to change it's structure and theoretically this function will work accept the "variable array" part. And maybe that's not the right name for it as I have checked my resources and cannot come up with the right syntax for it but theoretically, I think I should be able to do it.
If you know what a variable variable is:
$variable = "blue"; $$variable = "red"; //what you get is $blue = "red";
I am trying to do the same thing with an array:
$variable = "blue"; $$variable = "red"; //what I want is $blue = "red";
Does that make sense?