Commit ddecce4e authored by Deokhyun Lee's avatar Deokhyun Lee

fixed some errors

parent 0bdce88d
......@@ -110,7 +110,7 @@ public class MemberDaoImpl implements MemberDao {
pstmt = conn.prepareStatement(sql);
ResultSet rs = pstmt.executeQuery();
while (rs.next()) {
if (rs.getString("email").equals(name)) {
if (rs.getString("email").equals(email)) {
System.out.println("Email already exists in the database.");
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment