I can't remember for sure, but I believe the word 'password' is a reserved name. I'd suggest using mysql_error() to find out what the problem is.
$result = mysql_query("SELECT * FROM user_account WHERE email='$email' and password='$encryptedpassword'") or die(mysql_error());
Also in the code you provided, you're using the function mysql_fetch_row(), yet in the error you provided, it says you're using the function mysql_fetch_array()
Cgraz