string 내부 $ 기호 추가 수정

This commit is contained in:
2018-01-16 04:05:20 +09:00
parent 44a86cedec
commit 9502197cc2
88 changed files with 1316 additions and 1316 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ $connect = dbConn();
increaseRefresh($connect, "토너먼트", 1);
checkTurn($connect);
$query = "select no,tournament,userlevel,con,turntime from general where user_id='$_SESSION['p_id']'";
$query = "select no,tournament,userlevel,con,turntime from general where user_id='{$_SESSION['p_id']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -108,7 +108,7 @@ if($me['userlevel'] >= 5) {
case 1:
echo "<select name=gen size=1 style=color:white;background-color:black;>";
$query = "select no,name,npc,tnmt,leader,power,intel,leader+power+intel as total from general where tournament=0 and gold>='$admin['develcost']' order by {$tp3} desc";
$query = "select no,name,npc,tnmt,leader,power,intel,leader+power+intel as total from general where tournament=0 and gold>='{$admin['develcost']}' order by {$tp3} desc";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$genCount = MYDB_num_rows($result);