I have 15 or more rows in mysql database. I want to retrieve them and display in 2 different colors.
For First row <tr><td height="30" bgcolor="#F5F5F5">....</td></tr>
For second row <td height="30" align="center" bgcolor="#FFFFFF">....</td></tr>
For third row <td height="30" bgcolor="#F5F5F5">....</td></tr>
For Forth row <td height="30" align="center" bgcolor="#FFFFFF">....</td></tr>
And so on....
How to display them in such order using php