displaying results in table format

wxdqz

New Member
Can someone share with me the output for displaying a result from a database like they do on this website.

I.e.

<tr>
<td bgcolor="white">
<? echo "$data"; ?>
</td>
</tr>
<tr>
<td bgcolor="purple">
<? echo "$data"; ?>
</td>
<tr>

one row is white, next row is purple, etc. with a "while result" statement.

thanks.

tim.
 
Back
Top