Todd,
That's pretty simple🙂 Simply do the following:
<?php
$rowCol1 = "#CCCCCC";
$rowCol2 ="#DDDDDD";
$col = $rowCol1
echo "<table>\n";
while (// something to loop through dataset) {
echo "<tr bgcolor=\"$col\">\n<td">\n Row Data Here </td>\n</tr>\n";
$col == $rowCol1 ? $col = $rowCol2 : $col = $rowCol1;
}
echo "</table>\n";
?>
HTH.
geoff