If I have a multidimensiona l 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?
--
Posted via a free Usenet account from http://www.teranews.com
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?
--
Posted via a free Usenet account from http://www.teranews.com
Comment