email_addr); $result = mysql_query("update user set passwd_hash='$passwd_hash' where id=$user->id"); if ($result) { echo "password changed"; } else { echo " We can't update your password due to a database problem. Please try again later. "; } page_tail(); ?>