in addition to making the changes i had suggested, there was also code removed from the original page that i did not suggest.
in the original page the was a do staement to start the lop for the main recordset at line 120. line 120 - 123 was:
<?php do { ?>
<tr>
<td colspan="3" class="bold"><h1><b><?php echo $row_master1menucategories['category']; ?></b></h1></td>
</tr>
and lines 157 - 158 where to while statement:
<?php } while ($row_master1menucategories = mysql_fetch_assoc($master1menucategories)); ?>
</table>
those 2 have been removed which removes the loop for the main recordset.
i suggest downloading the original attachment you sent me, then only making the changes that i suggested in my initial replay, leaving the main recordset loop in tact.