Puoi usare un array in questo modo:
Cosi avrai per ogni indice i=0,1...finchè verrà estratto il campo e potrai mandare tramite email il contenuto dell'array!Codice PHP:$dati = mysql_query("SELECT * FROM tabella where x=y');
$i=0;
WHILE($row = mysql_fetch_array($dati)){
$campo[$i] = $row[campo];
$i++;
}
![]()

Rispondi quotando