$x = 25;$linea = "";for ( $i = 0; $i < $x; $i++ ) { $linea.=".";}echo $linea."\n"; // reemplazar por "<br>"