I guess a simplified example of what i am trying to do would be: add a line break after every 5th record taken from the database.
<?php do { ?>
<?php echo $row_Recordset1['id']; ?>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
after every 5th $row_Recordset1['id']; i want the script to automatically insert a "<br>"
any help would be really appriecated. i have been looking through the manual and google for a couple hours and i got nothing. so even some key words or tutorials on the subject would be great.
thanks again,
daniel s.