connect_errno) { throw new RuntimeException('mysqli connection error: ' . $db->connect_error); } $db->set_charset($DBCHAR); if ($db->errno) { throw new RuntimeException('mysqli error: ' . $db->error); } $sql = "SELECT * FROM `book_members` WHERE no = $no"; echo $sql . "
"; $res = $db->query($sql); if ($db->errno) { throw new RuntimeException('mysqli error: ' . $db->error); } $row = $res->fetch_array(); $email = explode('@', $row["email"]); $db->close(); ?> 회원가입

회원정보수정