Tablice z wylosowanymi liczbami (100 x 100), możesz też utworzyć bez pętli, np
$rand = array_map(function() { return array_map(function() { return random_int(1, 2000); }, range(0, 99)); }, range(0, 99));
echo '<pre>'
. count($rand) . ' x ' . count($rand[0]) . PHP_EOL
. ' [0][0] = ' . $rand[0][0] . PHP_EOL
. '[99][99] = ' . $rand[99][99] . PHP_EOL
. '</pre>';
a wypisać do tabeli (rozumiem, że chodzi Tobie o <table>) np, tak
$rand = array_map(function() { return array_map(function() { return random_int(1, 2000); }, range(0, 99)); }, range(0, 99));
$tr = '';
for ($i=0; $i<count($rand); $i++)
$tr .= '<tr><td>' . ($i+1) . '.</td><td>' . implode($rand[$i], '</td><td>') . '</td></tr>';
echo "<table><tbody>{$tr}</tbody></table>";