> WHERE verifycode='$code' LIMIT 1"); if (mysql_num_rows($query) != 1) { die("Invalid account verification code."); } else { $update = doquery("UPDATE <> SET verifycode='1' WHERE verifycode='$code' LIMIT 1"); } display("Account Verification",gettemplate("users_verified"), false); ?>