this piece of script makes alternate row colours, but i want the rows to be coloured in blocks of 8. So the first 8 rows are white then the next are mauve etc etc.
Alternatively i could make the rows all the same colour , but i need a blank row after each 8 rows.? Any ideas ---------------------------------------------------------------------------- ------ if ($i%8 == 0) { print "<tr bgcolor=\"#ffffff\"><td>$item_1</td><td>$item_2</td><td>$item_4</td><td><cen ter>$item_5</center></td></tr>\n"; } else { print "<tr bgcolor=\"#eeeeff\"><td>$item_1</td><td>$item_2</td><td>$item_4</td><td><cen ter>$item_5</center></td></tr>\n"; } ---------------------------------------------------------------------------- --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php