";
foreach($arr as $record2){
if ($record == $record2){
if ($count == 0)
$output .= ' - ';
else
$output .= " - ";
} else {
if ($count == 0)
$output .= '';
else
$output .= '';
$output .= number_format($rates[$record2]/$rates[$record], 4, '.', '') . "";
}
}
$output .= "";
$count++;
}
echo $output;
}
?>