game table을 대상으로 하는 update, select에서 no=1 과 관련된 부분을 limit 1 로 변경

This commit is contained in:
2018-03-31 23:21:46 +09:00
parent f78bdc6c6c
commit 3875a345c9
62 changed files with 275 additions and 200 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ $npc = MYDB_fetch_array($result);
########## 동일 정보 존재여부 확인. ##########
$query = "select year,month,maxgeneral,turnterm,genius,npcmode from game where no='1'";
$query = "select year,month,maxgeneral,turnterm,genius,npcmode from game limit 1";
$result = MYDB_query($query, $connect) or Error("join_post ".MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);