Conditional Format (cell colour) on table

Hi

I was wondering whether someone could or point me in the right direction.

I currently have a php page with a table on it that is populated by a recordset. I was wondering, can I set it so that for a particular row, where a specific cell content = ‘None’ then the row background colour is red for example?

Any help is much appreciated in advance!!!

Yes, it is possible to do something like this:
[php]

<?php //php398 - this script requires mysql_connect, mysql_select_db, mysql_query (producing $row) for it to work, but you get the idea while ($row = mysql_fetch_array($eachrow)) { if (empty($eachrow['field'])){ $colour = "FF0000"; } ?> <?php } ?>
<?=$eachrow['field']?>
[/php]
Sponsor our Newsletter | Privacy Policy | Terms of Service