codice:
$res = mysql_query("SELECT distinct Nome FROM tabella");

while( $row = mysql_fetch_assoc($res)) {

$nomi[] = $row['Nome'];

}