$queryprova=mysql_query($query_txt) or die(mysql_error());


metti anche la segnalazione di errore.