$a = 5;
$b =19;
$c=7;
$d=30;
$f=12;
$response="<font color='green'>".$a."</font>" ;
echo ''.$a.'-'.$b.'-'.$c.'-'.$d.'-'.$f.'';
if($b > $a) ($response = $response."-<font color='green'>".$b."</font>");
else ($response = $response."-<font color='red'>".$b."</font>");
if($c > $b) ($response = $response."-<font color='green'>".$c."</font>");
else ($response = $response."-<font color='red'>".$c."</font>");
if($d > $c) ($response = $response."-<font color='green'>".$d."</font>");
else ($response = $response."-<font color='red'>".$d."</font>");
if($f > $d) ($response = $response."-<font color='green'>".$f."</font>");
else ($response = $response."-<font color='red'>".$f."</font>");
echo "<hr>";
echo $response;Ekran Çıktısı: