This is a project I am working on for school, the idea is to create an eCommerce web site. I used Dreamweaver to setup a record set that displays my product entries. Right now it's just the information and image, I will add the other functions once I get this sorted out. I would like to have 4 entries per row, and have the 5th automatically start a new row. The code is set to repeat for each entry in the database. I tried to remove the <tr> tags, the <td> tags, and even set a width for the table but nothing seems to get them in the right place.
http://jcs5325.aisites.com/landscape.php
<table border="0" align="center">
<?php do { ?>
<tr>
<td height="50" align="center"><?php echo $row_catalogSet['p_name']; ?> $<?php echo $row_catalogSet['cost']; ?>.00<br />
<?php echo $row_catalogSet['picture']; ?></td>
</tr>
<?php } while ($row_catalogSet = mysql_fetch_assoc($catalogSet)); ?>
</table>