Is there a way to alternate the colour of the table background displayed for data from a table. here is my body
=======<table>
<tr>
<th COL WIDTH='80px'>Date (YYYY-MM-DD)</th>
<th COL WIDTH='80px'>Time</th>
<th COL WIDTH='80px'>Age</th>
<th COL WIDTH='80px'>Sport</th>
<th COL WIDTH='80px'>Team</th>
<th COL WIDTH='80px'>Score</th>
<th COL WIDTH='80px'>Team</th>
<th COL WIDTH='80px'>Score</th>
{new_record}
</tr>
=========
and finally my body
---------------------------------
<tr>
<td>{matchdate}{edit_record}</td>
<td>{matchtime}{edit_record}</td>
<td>{age_group}{edit_record}</td>
<td>{sport}{edit_record}</td>
<td>Maynooth{edit_record}</td>
<td>{maynooth_score}{edit_record}</td>
<td>{opponent}{edit_record}</td>
<td>{opponent_score}{edit_record}</td>
</tr>
-------------------
I usuallu set a variable and use a counter to determine every second row. Can't see that option here.
Cheers
=======<table>
<tr>
<th COL WIDTH='80px'>Date (YYYY-MM-DD)</th>
<th COL WIDTH='80px'>Time</th>
<th COL WIDTH='80px'>Age</th>
<th COL WIDTH='80px'>Sport</th>
<th COL WIDTH='80px'>Team</th>
<th COL WIDTH='80px'>Score</th>
<th COL WIDTH='80px'>Team</th>
<th COL WIDTH='80px'>Score</th>
{new_record}
</tr>
=========
and finally my body
---------------------------------
<tr>
<td>{matchdate}{edit_record}</td>
<td>{matchtime}{edit_record}</td>
<td>{age_group}{edit_record}</td>
<td>{sport}{edit_record}</td>
<td>Maynooth{edit_record}</td>
<td>{maynooth_score}{edit_record}</td>
<td>{opponent}{edit_record}</td>
<td>{opponent_score}{edit_record}</td>
</tr>
-------------------
I usuallu set a variable and use a counter to determine every second row. Can't see that option here.
Cheers