I have a little script that prints a certain amount of rows in a mysql database.
Is there any way to make it so that after every second row it prints, ther
$i=1; while ($row = mysql_fetch_array($query)) { //your code if ($i % 2 == 0) echo ''; $i++; }