최근글에 태그를 없애고 싶어요 정보
최근글에 태그를 없애고 싶어요본문
본문글에 <div><br/> 이런태그가 함께 출력이 되는데...
<?=cut_str("{$rss_list[description][$i]}", 300, "...")?>
위가 소스인데..이부분을 태그제거 하고 출력하게 하고 싶어요
도와주세요
<?=cut_str("{$rss_list[description][$i]}", 300, "...")?>
위가 소스인데..이부분을 태그제거 하고 출력하게 하고 싶어요
도와주세요
댓글 전체

<?=cut_str(strip_tags("{$rss_list[description][$i]}"), 300, "...")?>
해보세요
해보세요
태그가 그래도 다 출력이 되네요..ㅜㅜ

<?=cut_str("{$rss_list[description][$i]}", 300, "...")?>
=>
<?=conv_subject("{$rss_list[description][$i]}", 300, "...")?>
로 바꿔보세요
=>
<?=conv_subject("{$rss_list[description][$i]}", 300, "...")?>
로 바꿔보세요
신경써주시는데...그래도 안되네요..
<?=conv_subject("{$rss_list[description][$i]}", 300, "...")?>로 바꾸니..
<div><span style="font-size: 12px"> 이런식으로 나와요
<?=conv_subject("{$rss_list[description][$i]}", 300, "...")?>로 바꾸니..
<div><span style="font-size: 12px"> 이런식으로 나와요

<?=conv_subject(strip_tags("{$rss_list[description][$i]}"), 300, "...")?>
이렇게 해보고 안되시면
str_replace 쓰셔서 제거 하실 태그를 하나씩 제거 해주시면 될꺼 같습니다.
이렇게 해보고 안되시면
str_replace 쓰셔서 제거 하실 태그를 하나씩 제거 해주시면 될꺼 같습니다.
알려주셔서 감사합니다.
잘 안되네요...ㅡㅡ
잘 안되네요...ㅡㅡ

str_replace 태그를 이용해서 태그를 하나씩 제거해서 출력해보세요