jasonindus
Programmer
i'm using a while loop to display the contents from my database. i can get the results to display in a row or in a column, but how do i get them to loop as a tiled format...
for example i would like to display the contents 3 to a column, then start a new row to display the next 3 results, so forth, so forth.
i want it to do something like this...
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
}
</table>
for example i would like to display the contents 3 to a column, then start a new row to display the next 3 results, so forth, so forth.
i want it to do something like this...
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
}
</table>