for($i=1; $i<300; $i++){ $s = $i % 91; if ($s <= 60){ echo "$i - çalış <br>"; }else{ echo "$i - tatil <br>"; } }