Thanks, but the link you posted to does the opposite of what I want.
I can't find anything on there that does what I want it to, they all seem to be the same way as the link you posted.
The link would allow providing 'key1', 'key2', 'key3' and returning 'value'
$array['key1']['key2']['key3'] = "value";
...but I want to provide 'value' and return key1, key2, key3 etc.
Thanks for posting though.