단순 국가 정보를 받아올 때 query하지 않고 저장된 값을 쓰도록 변경
This commit is contained in:
+1
-5
@@ -66,12 +66,8 @@ $sel[$type] = "selected";
|
||||
<td align=center id=bg1>비 고</td>
|
||||
</tr>
|
||||
<?php
|
||||
$query = "select nation,name,color from nation";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$nationcount = MYDB_num_rows($result);
|
||||
for($i=0; $i < $nationcount; $i++) {
|
||||
$nation = MYDB_fetch_array($result);
|
||||
|
||||
foreach(getAllNationStaticInfo() as $nation){
|
||||
$nationName[$nation['nation']] = $nation['name'];
|
||||
$nationColor[$nation['nation']] = $nation['color'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user