select* FROM utenti WHERE username='$utente' AND password='$password'

Così non va?