Probabilmente devi aggiungere gli apici al campo nome_utente che sicuramente è un varchar:

Codice PHP:
$record=mysql_query("select password from log_modifiche where nome_utente='$utente' ");