somebody?
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['value1'] . "</td>";
echo "<td>" . $row['value2'] . "</td>";
if($row['Quantity']>=32)
echo "<td style='background-color: #00FF00;'>".$row['Quantity']."</td>";
else if($row['Quantity']<=15)/
echo "<td style='background-color: #FF0000;'>".$row['Quantity']."</td>";
else if($row['Quantity']>=16)
echo "<td style='background-color: #FFFF00;'>".$row['Quantity']."</td>";
echo "<td>" . $row['value4'] . "</td>";
echo "</tr>";
}
echo "</table>";
Tnx
Igor