game table 이전

This commit is contained in:
2018-05-13 01:31:28 +09:00
parent 166eafe4ee
commit fab0495a39
5 changed files with 27 additions and 33 deletions
+2 -2
View File
@@ -79,8 +79,8 @@ if($btn == '참가') {
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$grpCount = MYDB_num_rows($result);
if($grpCount >= 8) {
$query = "update game set tournament=2, phase=0";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$gameStor->tournament = 2;
$gameStor->phase = 0;
}
header('location:b_tournament.php');
die();