함수 2개 동시 사용 채택완료
블랑숑
4년 전
조회 2,339
원래
$od_deposit_name = clean_xss_tags($od_deposit_name);
이렇게 되어 있는 것을
$od_deposit_name = mb_substr($od_deposit_name, 0, 6);
이와 같이 바꾸려고 하는데요
clean_xss_tags를 하면서 mb_substr를 쓰려면 어떻게 바꿔야 할까요?
$od_deposit_name1 = clean_xss_tags($od_deposit_name);
$od_deposit_name = mb_substr($od_deposit_name1, 0, 6);
이렇게 바꾸는거 말고 다른 방법이 있나요?
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인
$od_deposit_name = mb_substr(clean_xss_tags($od_deposit_name), 0, 6);
세미콜론 빼야 하더군요 ㅎㅎ