yeosunet.kr
php에서 태그 제거 함수 strip_tags 사용시 (공백)가 남아 있는 경우
- php에서 태그 제거 함수 strip_tags 사용시 (공백)가 남아 있는 경우 str_replace로 제거후 사용 $wr_content = str_replace('',' ',$wr_content); // 를 빈칸으로 대체$wr_content = strip_tags($wr_content); ※ 그누보드 cut_str 함수로 원하는 글자수 만큼 …
여수공동체