I need that after the limit of values (that is, when more than 4x li), ul was re-deduced, already with the following values li. I did something like this, but of course not correctly .:
for ($i=4; $i <= count($tour_incl); $i+4) { $i -= 1; $u_count=$i-4; for ($j=$u_count; $j < $i; $j++) { echo '<ul class="list-ok" style="margin-top:50px; display:inline-block;">'; echo '<li style="padding-left: 14px;margin-left: 15px;">' . $tour_incl[$j] . '</li>'; echo '</ul>'; } }
liunconditionally, anduland/uldepending on the remainder of dividingiby 4 ... - Akina