game table을 대상으로 하는 update, select에서 no=1 과 관련된 부분을 limit 1 로 변경
This commit is contained in:
+1
-1
@@ -183,7 +183,7 @@ window.abilityPowint = abilityPowint;
|
||||
<tr><td align=center><?php info($connect, 0, 1); ?></td></tr>
|
||||
</table>
|
||||
<?php
|
||||
$query = "select img,maxgeneral from game where no='1'";
|
||||
$query = "select img,maxgeneral from game limit 1";
|
||||
$result = MYDB_query($query, $connect) or Error("join ".MYDB_error($connect),"");
|
||||
$admin = MYDB_fetch_array($result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user