관리자 회원관에서 등급을 선택 수정할 경우.
관리자 회원관리에서 등급을 선택수정을 하는 경우, 등급이 정상적으로 수정되기는 하나
잠깐사이에 아래와 같은 오류 메시지가 표시됩니다.
mysql_real_escape_string() expects parameter 1 to be string, array given in "/host 경로"/common.php on line 398.
해당 398 라인을 찾아가보니, 이런 내용이 있는데, 이스케이프 문자.. 어떻게 수정해야될까요.
391 if (isset($total_page)) {
392 $total_page = (int)$total_page;
393 }
394 if (isset($comment_id)) {
395 $comment_id = (int)$comment_id;
396 }
397 if (isset($mb_id)) {
398 $mb_id = mysql_real_escape_string($mb_id);
399 }
400 if (isset($mb_email)) {
401 $mb_email = mysql_real_escape_string($mb_email);
402 }
403 if (isset($po_id) && !is_array($po_id)) {
잠깐사이에 아래와 같은 오류 메시지가 표시됩니다.
mysql_real_escape_string() expects parameter 1 to be string, array given in "/host 경로"/common.php on line 398.
해당 398 라인을 찾아가보니, 이런 내용이 있는데, 이스케이프 문자.. 어떻게 수정해야될까요.
391 if (isset($total_page)) {
392 $total_page = (int)$total_page;
393 }
394 if (isset($comment_id)) {
395 $comment_id = (int)$comment_id;
396 }
397 if (isset($mb_id)) {
398 $mb_id = mysql_real_escape_string($mb_id);
399 }
400 if (isset($mb_email)) {
401 $mb_email = mysql_real_escape_string($mb_email);
402 }
403 if (isset($po_id) && !is_array($po_id)) {
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 1개