game table을 대상으로 하는 update, select에서 no=1 과 관련된 부분을 limit 1 로 변경
This commit is contained in:
@@ -453,7 +453,7 @@ function processCommand($connect, $no) {
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$general = MYDB_fetch_array($result);
|
||||
|
||||
$query = "select month,killturn from game where no='1'";
|
||||
$query = "select month,killturn from game limit 1";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$admin = MYDB_fetch_array($result);
|
||||
$log = array();
|
||||
|
||||
Reference in New Issue
Block a user