Not sure what other info there is, maybe best to forget about the php code that was in there, so starting again, just trying to get the rows to change colors, the table below is just an example, in reality, there's a few hundred rows, and rows are constantly added and taken away and need the rows to automatically display different colors for each row, without the need to manually alter any row in the table.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="description" content="Test">
</head>
<body>
<table border='0' cellpadding='0' cellspacing='0' width='200'>
<tr><td><a href="link1" target='blank'>title1</a></td></tr>
<tr><td><a href="link2" target='blank'>title2</a></td></tr>
<tr><td><a href="link3" target='blank'>title3</a></td></tr>
<tr><td><a href="link4" target='blank'>title4</a></td></tr>
<tr><td><a href="link5" target='blank'>title5</a></td></tr>
<tr><td><a href="link6" target='blank'>title6</a></td></tr>
</table>
</body>
</html>
Any help very much appreciated.
Joad.