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
@@ -4,11 +4,11 @@ include "func.php";
$connect=dbConn();
$query = "select userlevel from general where user_id='$_SESSION[p_id]'";
$query = "select userlevel from general where user_id='$_SESSION['p_id']'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
if($me[userlevel] < 5) {
if($me['userlevel'] < 5) {
echo "<script>location.replace('_119.php');</script>";
}