|
Posted by Chuy08 on 02/13/07 01:15
If I have a multdimensional array like so:
$records = array(
array('product' => '30 year','rate'=> 6.0 'ProgramID' =>9514),
array('product' => '30 year','rate'=> 6.0 'ProgramID' =>9514),
array('product' => '30 year','rate'=> 6.0 'ProgramID' =>9517),
array('product' => 'Pay option','rate'=> 1.0 'ProgramID' =>9513),
array('product' => 'Pay option','rate'=> 1.0 'ProgramID' =>9513));
How could I iterate through this and removing only values that are
duplicated by ProgramID. In this example the new array should contain only
the 1st, 3rd and 4th values. Any help appreciated.
chuy
--
Posted via a free Usenet account from http://www.teranews.com
Navigation:
[Reply to this message]
|