"; } else { require_once("../lib/mydb.php"); $pdo = db_connect(); try{ $sql = "select * from chandj.member where id = ? "; $stmh = $pdo->prepare($sql); $stmh->bindValue(1,$id,PDO::PARAM_STR); $stmh->execute(); $count = $stmh->rowCount(); } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } if($count<1){ print "사용가능한 아이디입니다.

"; } else { print "아이디가 중복됩니다.
다른 아이디를 사용해 주세요.

"; } } print "

" ; ?>