Horizontal Looping issue
This generates 4 columns in the first row. But, only 3 columns and a blank column at the end of each of the following rows till the end of the recordset. Am I missing something?
<div class='section group' style="background:#FFFFFF;">
<?php
$wa_startindex = 0;
while(!$Recordset1->atEnd()) {
$wa_startindex = $Recordset1->Index;
?>
<div class="col span_1_of_4" align="center" style="background-color: #fff;">
<div class="storebox"> <a href="furnituredetail.php?prodID=<?php echo($Recordset1->getColumnVal("prodID")); ?>"><img src="storepix/<?php echo($Recordset1->getColumnVal("prodID")); ?>.jpg" alt="" style="border:solid #333 0px; max-width:14.0625em; max-height:14.0625em;"></a><br />
<span class="bodytext"> <b><a href="<?php echo($Recordset1->getColumnVal("prodName")); ?>"><?php echo($Recordset1->getColumnVal("prodName")); ?></a></b><br>
<?php echo($Recordset1->getColumnVal("prodPricedesc")); ?></span><br />
</div></div>
<?php
$Recordset1->moveNext();
}
$Recordset1->moveFirst(); //return RS to first record
unset($wa_startindex);
unset($wa_repeatcount);
?>
</div>
What is DataAssist.