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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.