il mio era un esempio (imposti la classe di style in red/normal). Poi dovresti adattarla alle tue esigenze.
Ad esempio così ti mette in bold i campo cod_mat se è cambiatoCodice PHP:
<tr>
<td width='5'> <?php echo $arr['id'] ?> </td>
<td width='5'> <?php echo $arr['owner'] ?> </td>
<td width='5'> <?php echo ($arr['cod_mat'] != $arr2['cod_mat']) ? '<b>'.$arr['cod_mat'].'</b>' : $arr['cod_mat']; ?></td>
</tr>