email_addr, $str, $new_email)) { $new_email = trim(strtolower($new_email)); $result = mysql_query("update user set email_addr='$new_email' where id=$user->id"); if ($result) { echo "Email address change verified"; } else { echo "Verification failed due to database error. Please try again later."; } } else { echo " We weren't expecting a verification of this account's email address. Please request the change again. "; } page_tail(); ?>