Tutto chiaro! 
Guarda ho iniziato a buttare giù questo codice:
Codice PHP:
<?php
include('../connect.php');
$tables = array('Df', 'Tz', 'Med', 'Cc', 'Es', 'Trq', 'At');
foreach($tables as $ruolo){
$query = mysql_query("SELECT count(*) as nome FROM GIOCATORI") or die (mysql_error());
var_dump($query);
if($count <= 50)
$aggiungere = 100 - $count;
for($i = 0; $i < aggiungere; $i++){
$insert = "INSERT INTO GIOCATORI WHERE ruolo = {$ruolo}
(nome,cognome,eta)
VALUES
('$nome', '$cognome', '$eta') or die (mysql_error())";
}
}
?>
Ho commesso errori per il corretto fine del mio scopo?