AI박프로

최근게시물 내용출력시 글자길이 조절

단순히 최근게시물에 내용출력시켰습니다. 근데 제목과달리 글자길이 조절이 안됩니다,
{$list[$i][wr_content]}
어떻게해야하는지 알려주시면 고맙겠습니다.


echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'>{$list[$i][name]}({$list[$i][wr_4]}) l {$list[$i][wr_content]} l {$list[$i][wr_6]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][name]}({$list[$i][wr_4]}) l {$list[$i][wr_content]} l {$list[$i][wr_6]}</font>";
echo "</a>";

댓글 1개

이걸 말슴 하시나요.? ;;; 아닌가. ;;

$view_content = $list[$i]['wr_content'];
$view_content = cut_str(strip_tags($view_content),100,"");
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
07-12-14 조회 1,495
07-12-14 조회 1,703
07-12-14 조회 1,657
07-12-14 조회 1,601
07-12-14 조회 1,732
07-12-14 조회 1,616
07-12-14 조회 1,699
07-12-14 조회 1,318
07-12-14 조회 1,623
07-12-14 조회 1,622
07-12-14 조회 1,765
07-12-14 조회 1,447
07-12-14 조회 1,955
07-12-14 조회 1,536
07-12-14 조회 1,794
07-12-14 조회 1,807
07-12-14 조회 1,338
07-12-14 조회 1,685
07-12-14 조회 1,675
07-12-14 조회 1,601