echo 로 변경

echo 로 변경

QA

echo 로 변경

답변 1

본문

<?php if ($infext_02 == '1') { //회사/점포명 ?>
   <td style="padding-right:10px; text-align:left; line-height: 1.6em;">
    <?php echo mb_strimwidth(strip_tags($list[$i][wr_10]),0,30,"...",'utf-8'); ?>
   </td>
<?php } ?>

 

이 소스를 echo로 변경하려면

어떻게 해야할까요?

고수님들 부탁드립니다

이 질문에 댓글 쓰기 :

답변 1


<?php
  if ($infext_02 == '1') { //회사/점포명
    echo "<td style=\"padding-right:10px; text-align:left; line-height: 1.6em;\">";
    echo mb_strimwidth(strip_tags($list[$i][wr_10]),0,30,"...",'utf-8');
    echo "</td>";
  }
?>
답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 125,873
© SIRSOFT
현재 페이지 제일 처음으로