Hallo,
for a number of floating flexboxes I want to limit the number of them in each row.
This is what I tried :
<?php foreach($page->projectBox as $box) {
if (count($box)<3 | count($box)>3) {
echo "<div class='projektbox'>";
echo "<h2>{$box->boxTitle}</h2>";
echo "{$box->boxText}";
echo"</div>";
}
if (count($box)=3) {
echo "<br>";
}
}
?>
Which throws a 500 error... any help, pls?
Thank youuu!