I have a recordset and the records are just outputted one by one in a list. Is there a way I can structure the ouput, so maybe put 3 records in a row and then the next row.
the code i have so far is
<table width="490" border="0">
<?php do { ?>
<tr>
<td width="230" height="49"><div align="center"><?php echo $row_Recordset1['typeofproduct']; ?></div></td>
<td width="183"><a href="catalog.php?typeid=<?php echo $row_Recordset1['typeID']; ?>&id1=<?php echo rawurlencode($row_Recordset1['typeofproduct']); ?>"><img src="<?php echo $row_Recordset1['imageURL']; ?>" width="100" height="60" border="1"></a></td>
</tr>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
</table>