chuy08 Posted February 12, 2007 Share Posted February 12, 2007 If I have a multidimensional array like the following: Array $records => Array 0 => [Product] 30 year, [Rate]6.0; 1 => [Product] 30 year, [Rate]6.0; 2 => [Product] Pay Option, [Rate]1.0; 3 => [Product] Pay Option, [Rate]1.0; How could I flatten this to achieve an array that only has unique Product values, basically removing $records['1] and $records['3'] in this example? Link to comment https://forums.phpfreaks.com/topic/38193-flattening-multidimensional-array-to-unique-values/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.