e in che modo è criptato ?

prova con select * from users where user=$_POST[user] and password=password($_POST[password])

circa