You could so something really simple to highlight the rows like this:
CSS:
Code:
tr#light {background: white;}
tr#dark {background: #666666;}
HTML/PHP
Code:
<?
// Where $row is a fetched array from the database result, and
// where $num_rows is the number of rows in the database result.
?>
<table>
<?
$color = "light";
for ($i; $i <= $num_rows; $i++)
{
if ($color == "light")
{
$color = "dark";
}
echo "<tr id='".$color."'>";
echo "<td>";
echo $row['data1'];
echo "</td>";
echo "<td>";
echo $row['data2'];
echo "</td>";
echo "</tr>";
}
</table>
You should be able to modify this to something useful.
Best,
Whatknows
Bookmarks