<br style="clear:both;" />
$contents= $contents = str_replace("<br style="clear:both;" />", "", $contents);해서 <br style="clear:both;" />태그를 삭제하고 싶은데.. ""에러를 이르키네요 방법이 없을까요?
|
답변 2개 / 댓글 2개
채택된 답변
+20 포인트
드래곤된다
2015-04-15 (수) 10:14:21
str_replace('<br style="clear:both;" />', '', $contents);
이것도 안되면 정규식으로 제거해야져머 ㅋㅋ
2015-04-15 (수) 09:54:03
$contents = str_replace("<br style=\"clear:both;\" />", "", $contents);
이렇게 해보세요
답변에 대한 댓글 2개
답변을 작성하려면 로그인이 필요합니다.