There is a cycle of 150
steps. It is required to create such a condition under which my code will be executed every 50
steps. The key question is how this condition looks.
$br = '<br />'; for ($i=0; $i<150; $i++) { echo 'h'; if (требуемое условие) echo $br; }