Are you talking about alternating row colors? If so, then you could just do something like this:
<?php
$bgcolor = "#000000";
while($row = mysql_fetch_array($query_result))
{
?>
<table>
<tr>
<td bgcolor="<?=$bgcolor; ?>"><?=$row['topic']; ?></td>
</tr>
</table>
<?
if($bgcolor == "#000000")
{
$bgcolor = "#FFFFFF";
}
else
{
$bgcolor = "#000000";
}
}
?>
Just make a loop like that, making sure to replace the colors with what you want. This is, of course, a very simple version and you'd have to customize it more for your needs. Hope this helps 😉