Hi gizmola, tried the 'css style class' route with the following:
<head>
<style type="text/css">
td {color: red; }
</style>
</head>
....
$result = mysql_query(select bal, etc. etc ..query )
while($row = mysql_fetch_assoc($result))
echo "<tr>";
echo "<td>" . $row['Account'] . "</td>";
echo "<td>" . $row['licence'] . "</td>";
echo "<td>" . $row['own'] . "</td>";
echo ($row['bal'] > 50000) ? '<td class="red">' : '<td>';
echo "{$row['bal']}</td>";
// echo "<td>" . $row['bal'] . "</td>";
echo "</tr>";
}
....
The problem is that all the entries are formatted in red. Any way I can target the css to the $row['bal'] based on a condition.
I will try the 'associative array element inside an interpolated string' later once I have figured out what it means (-;