result1
result2
result3
result4
(and here goes some delimiter like <hr/> or something like that..)
result5
result6
result7
result8
(delimiter again)
.. etc to the end of the mysql array...
Moderator: General Moderators
Code: Select all
$count = mysql_num_rows($result);
for ($i = 0; i < $count; $i++) {
if ($i != 0 && $i % 4 == 0) echo '<hr>';
// the other code
}