<?php
    $recurso = fopen("datos.txt","r");
    for ($i=1; $i < 10; $i++) { 
        $x = rand(1,100);
        echo $x . "<br>";
    }
    fclose($recurso);
?>
