I have the following multidimensional array setup:
array[key1][key2]["value1"] = "test";
array[key1][key2]["value2"] = "test2";
I know to iterate in the first level you use:
for(key in array)
{
}
How would I iterate through the second level? I was trying this without any success
for(key in array)
{
for(key2 in array[key])
{
}
}
Also, does anyone know how I can sort by the second key? I hope I'm not overcomplicating this