php multidimensional array from known key values

EQUALCEKLYCAT

New Member
I have a collection of keys in this massive flat single array I would like to basically expand that array into a multidimensional one organized by keys - here is an example:\[code\]'invoice/products/data/item1''invoice/products/data/item2''invoice/products/data/item2'\[/code\]=>\[code\]'invoice'=>'products'=>array('item1','item2','item3')\[/code\]how can I do this - the length of the above strings are variable...Thanks!
 
Back
Top