Fix: DB user column -> player
This commit is contained in:
@@ -25,7 +25,7 @@ function addPlayer() {
|
||||
}
|
||||
|
||||
let xhr = new XMLHttpRequest(); //new로 생성.
|
||||
xhr.open('POST', './../server/user/add_player.php', true);
|
||||
xhr.open('POST', './../server/player/add_player.php', true);
|
||||
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
||||
xhr.send("maestro_id=" + maestroID + "&player_name=" + playerName + "&enter_code=" + enterCode);
|
||||
xhr.onload = function() {
|
||||
@@ -84,14 +84,14 @@ function addPlayer() {
|
||||
<!--
|
||||
<h3>단체 추가</h3>
|
||||
|
||||
<form action="/action_page.php" method="get" id="add_users">
|
||||
<form action="/action_page.php" method="get" id="add_players">
|
||||
<textarea>
|
||||
엑셀에서 아래와 같이 셀에 입력한 후에 복사하고 붙여넣기
|
||||
학생 이름 | 입장 코드
|
||||
학생 이름 | 입장 코드
|
||||
...
|
||||
</textarea>
|
||||
<button type="submit" form="add_users">추가</button>
|
||||
<button type="submit" form="add_players">추가</button>
|
||||
</form>
|
||||
|
||||
<textarea>
|
||||
|
||||
Reference in New Issue
Block a user