hi
i need your help. i want to query my db and load 10 entries. then, i want to list then in a table like this
<TABLE border=1>
<TR>
<TD>d 1</TD>
<TD>d 2</TD>
<TD>d 3</TD>
<TD>d 4</TD>
<TD>d 5</TD>
</TR>
<TR>
<TD>d 6</TD>
<TD>d 7</TD>
<TD>d 8</TD>
<TD>d 9</TD>
<TD>d 10</TD>
</TR>
</TABLE>
i know how to do the mysql part. but i am not sure how to use a loop to print the table.