<?php header("Content-type: text/html; charset=utf-8"); for($cnt = 1; $cnt <= 10; $cnt++){ echo $cnt; if($cnt <= 5){ echo "●"; } echo "<br>"; } ?>