post 등에 mysql_real_escape_string 적용하는 코드 수정

This commit is contained in:
chicpro committed 2014-02-20 11:29:19 +09:00
1 parent 7bd383b7cf
commit bc1cfad1c2
20 files changed
+76 -76

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ for ($i=1; $i<=5; $i++) {
$var = "qa_$i";
$$var = "";
if (isset($_POST['qa_'.$i]) && $_POST['qa_'.$i]) {
$$var = escape_trim($_POST['qa_'.$i]);
$$var = trim($_POST['qa_'.$i]);
}
}