Ver original$bri=0;while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)){ if(++$bri==3){echo "<br>";$bri=0;} }