gwolgamott Posted January 21, 2010 Share Posted January 21, 2010 Array ( [0] => Events/New/ [1] => Events/Old/[2]=> Events/Current/Info/[3] => Managament Documents/Engineering/ [4] => Managament Documents/Lateral/ [5] => Managament Documents/Pedestal/ [6] => Managament Documents/Random/dd/ [7] => Managament Documents/Random/ff/) To create an array that would be structured something like this $temp_array[0][Events][New] ="Dummy"; $temp_array[0][Events][Old] = "Dummy"; $temp_array[0][Events][Current][info] ="Dummy"; $temp[1][Managament Documents][Engineering] = "Dummy" // etc.... The first array would be dynamic in size and created from a file directory or a list of items... or what have you. Link to comment https://forums.phpfreaks.com/topic/189316-taking-info-from-one-array-and-using-it-to-create-a-new-multidimensional-array/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.