Mam kod którym wyciągam temperaturę z bazy danych potrzebuję zmienić kolor czcionki jeżeli tempratura jest większa niż 10 st C
<?php
error_reporting(0);
include('functions.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Dane</title>
<link rel="stylesheet" href="my_css.css">
<meta http-equiv="content-language" content="-us" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
</head>
<body style="color:#87CEFA ; background-color:black">
<div id="header">
<h1>Monitor</h1>
</div>
<div id="content-wrapper">
<div id="content">
<p>
<?php
$query1 = "SELECT * FROM temperatura";
$result1 = mysqli_query(polacz(), $query1) or die('Blad zapytania SQL');
echo'<div class= "siatka">';
///
echo'<div class= "element">';
$counter = 0;
echo "<table border=2>";
echo "<tr>
<th></th>
<th>Ilość</th>
</tr>";
while ($line = mysqli_fetch_assoc($result1)) {
$counter++;
echo "<tr>";
echo "<td>" . $counter . "</td>";
echo "<td>".$line["Temperatura"] ." </td>";
}
echo "</table>";
echo"</div>";
///
?></p>
</div>
<hr />
</div>
</body>
</html>