string 내의 $ 호출들 일괄 변환.

This commit is contained in:
2018-01-16 03:56:50 +09:00
parent c73a3bcf95
commit 28eaf7b0d7
119 changed files with 6485 additions and 6479 deletions
+2 -2
View File
@@ -7,13 +7,13 @@ include "func.php";
CheckLogin();
$connect = dbConn();
$query = "select no,nation from general where user_id='$_SESSION[p_id]'";
$query = "select no,nation from general where user_id='$_SESSION['p_id']'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
$msg = addslashes(SQ2DQ($msg));
$query = "update nation set rule='$msg' where nation='$me[nation]'";
$query = "update nation set rule='$msg' where nation='$me['nation']'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
//echo "<script>location.replace('b_nationrule.php');</script>";