p_id를 noMember 기반으로 변경

This commit is contained in:
2018-02-03 04:49:54 +09:00
parent ecac4b6edb
commit e957a91b19
79 changed files with 171 additions and 174 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ $query = "select startyear,year,month,killturn from game where no='1'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
$query = "select no,name,nation,nations,level,troop,history,npc,gold,rice from general where user_id='{$_SESSION['p_id']}'";
$query = "select no,name,nation,nations,level,troop,history,npc,gold,rice from general where no_member='{$_SESSION['noMember']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);