리스트에서 html 보이게하기 정보
리스트에서 html 보이게하기본문
웹진형 게시판을 사용하고 있습니다
글쓰기할때 에디터로 작성된 내용을
리스트에도 그대로 보이게할순 없나요?
어렵다면 자동 줄바꿈이라도 가능했음해서요..
비슷한 질문이 있나 찾아봐도 없길래 글남깁니다.
글쓰기할때 에디터로 작성된 내용을
리스트에도 그대로 보이게할순 없나요?
어렵다면 자동 줄바꿈이라도 가능했음해서요..
비슷한 질문이 있나 찾아봐도 없길래 글남깁니다.
댓글 전체
$list[$i][content] 를
$list[$i][wr_content] 로 바꾸어 보세요.
$list[$i][wr_content] 로 바꾸어 보세요.
<!--내용출력-->
<a href='<?=$list[$i][href]?>'><font color='<?=$font2?>'>
<?=cut_str(strip_tags($list[$i]['wr_content']),$list_content)?>
</font></a><!--내용출력끝-->>
현제 내용출력 부분에 이렇게 되있어요.
줄바꿈이라도 됐음 좋겠어요
<a href='<?=$list[$i][href]?>'><font color='<?=$font2?>'>
<?=cut_str(strip_tags($list[$i]['wr_content']),$list_content)?>
</font></a><!--내용출력끝-->>
현제 내용출력 부분에 이렇게 되있어요.
줄바꿈이라도 됐음 좋겠어요
<?=cut_str(strip_tags($list[$i]['wr_content']),$list_content)?>
=>
<?=$list[$i]['wr_content']?>
or
<?=cut_str($list[$i]['wr_content'],$list_content)?>
=>
<?=$list[$i]['wr_content']?>
or
<?=cut_str($list[$i]['wr_content'],$list_content)?>
이걸 넣으니 잘보이네요.
치저ㄹ한 답변 감사드립니다
치저ㄹ한 답변 감사드립니다