<?php
if ( $i % 4 != 0 ) {
echo '<br />'
} else {
echo '';
}
?>
% steht für modulo, d.h. du bekommst bei einer Division den Rest als wert z.B. 9 % 4 = 1; 15 % 4 = 3;
cu mark
<?php
if ( $i % 4 != 0 ) {
echo '<br />'
} else {
echo '';
}
?>
% steht für modulo, d.h. du bekommst bei einer Division den Rest als wert z.B. 9 % 4 = 1; 15 % 4 = 3;
cu mark