I'm having a certain issue that I'm not sure how to get around. This is the piece of code I'm working with:
Code: Select all
<?php do { ?>
<table cellspacing="0" cellpadding="2">
<tr>
<td align="center"><img src="<?php echo $images_dir ?>/tb_<?php echo $row_callitems['itemname']; ?>" /><br />
<?php echo $row_callitems['itemname']; ?></td>
<td valign="top"><table cellspacing="0" cellpadding="2">
<tr>
<td>Size</td>
<td>Paper</td>
<td>Quantity</td>
<td>Unit Price </td>
<td>Subtotal</td>
</tr>
<!--Start Repeat -->
<tr>
<td><?php echo $row_callitem_size['size']; ?></td>
<td><?php echo $row_callitem_size['paper']; ?></td>
<td><?php echo $row_callitem_size['quantity'];?></td>
<td><?php ?></td>
<td><?php ?></td>
</tr>
<!--End Repeat -->
</table></td>
</tr>
</table>
<?php } while ($row_callitems = mysql_fetch_assoc($callitems)); ?>