I saw the tutorial about how to alternate row colors but since I am not using the DRW I am a little confused as to where to put the tags. Here is my code, which displays all the records in the database (only 3 of the fields):
<table border="1" width="944"> <tr> <td width="166" bgcolor="#000000"><font color="#FFFFFF" face="Verdana"><strong>Date first reported</strong></font></td> <td width="365" bgcolor="#000000"><font color="#FFFFFF" face="Verdana"><strong>Description</strong></font></td> <td width="165" bgcolor="#000000"><font color="#FFFFFF" face="Verdana"><strong>Status</strong></font></td> </tr> <% On Error Resume Next ph.MoveFirst do while Not ph.eof %> <tr> <td width="166"><small><%=ph("reportdate")%></small> </td> <td width="365"><font face="Verdana"><small><a href="detail_history.asp?description=<%=ph("PHID")%>"><%=ph("Description")%></a></small></font></td> <td width="165"><small><%=ph("status")%></small> </td> </tr> <% ph.MoveNext Loop %> </table>
....... <tr> <td width="166" <% if x = 1 then bgcolor="gray" response.write "bgcolor='gray'" x=2 Else bgcolor="White" Response.write "bgcolor='white'" x=1 End if %>><small.....