"; } $hasta = $longitud-1; For ($celda = 0; $celda <= $hasta; $celda++) { $num = substr ($contador, $celda, 1); echo "
"; } ?>