Bestimmte Websiteinhalte farblich markieren

Hallo zusammen. Ich habe eine index.php die eine CSV Datei wiederspiegelt. Nun... Ich habe in Spalte 6 bestimmte Zahlen.Beispiel 179 und würde dann per CSS die ganze Zeile Fablich in Rot markieren lassen. Danke für eure Hilfe, wenn es klappt

Der hier verwendete Code

<!doctype html> <html lang="de"><head><style> table, th, td { border-collapse: collapse; } table {margin-left: 1em; border:1px solid black; magin:0 auto;} nth { color: #fff; border: thin solid #666; background:black;} td { background: linear-gradient(#f9f9f9, #e3e3e3); border-left: thin solid #666; border-right: thin solid #666;} tfoot { border-bottom: thin solid #666;} .highlight1 { background:blue; } .highlight { background:red; } </style></head> <body> <table> <?php $daten = file("daten_webseite/einedatei.csv", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach ($daten as $nr => $data) { $dat=explode(",", $data); if($nr==0){ // este eihe sollte eigentlich die Spaltennamen drinne stehen echo "<tr>"; for($x1=0;$x1<count($dat);$x1++){ echo "<th>".$dat[$x1]."</th>"; } echo "</tr>"; }else { echo "<tr>"; for($x2=0;$x2<count($dat);$x2++){ if($x2==6){//spalte Fäben $class='class="highlight1"'; }else{ $class=''; } if($nr==6){// Reihe färben $class1='class="highlight"'; }else{ $class1=''; } echo "<td $class$class1>".$dat[$x2]."</td>"; }} echo "</tr>"; } ?> </table></body></html>