Thanks Jason.
What I was looking to use that for was to be able to use one recordset and use the show if's to show the content for each relevant <div>
The below is onlyi returning the first <div>'s content but not the 2nd <div>
<div>
<?php do { ?>
<?php if($row_Sponsors['SponsorLive'] == "1" && $row_Sponsors['SponsorCategoryID'] == "1") { ?>
<div style="float:left; margin: 10px 0 10px 10px; background-color: #e9e9e9; border: 1px solid #ccc; padding: 5px;"> <a href="sponsor-detail.php?id=<?php echo $row_Sponsors['SponsorID']; ?>"><img src="images/sponsors/<?php echo $row_Sponsors['SponsorLogo']; ?>" width="260" height="137" border="0" /></a> </div>
<?php } ?>
<?php } while ($row_Sponsors = mysql_fetch_assoc($Sponsors)); ?>
<div style="clear:left; width: 630px; height: 20px;"></div>
</div>
<div style="clear:left; margin: 20px 0;">
<?php do { ?>
<?php if($row_Sponsors['SponsorLive'] == "1" && $row_Sponsors['SponsorCategoryID'] == "2") { ?>
<div style="float:left; margin: 10px 0 10px 10px; background-color: #e9e9e9; border: 1px solid #ccc; padding: 5px;"> <a href="sponsor-detail.php?id=<?php echo $row_Sponsors['SponsorID']; ?>"><img src="images/sponsors/<?php echo $row_Sponsors['SponsorLogo']; ?>" width="190" height="100" border="0" /></a> </div>
<?php } ?>
<?php } while ($row_Sponsors = mysql_fetch_assoc($Sponsors)); ?>
</div>