채택완료

echo 로 변경

2019-03-18 (월) 22:37:03 3,841

<?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개

채택된 답변
+20 포인트
Copy
<?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>";
  }

?>

답변을 작성하려면 로그인이 필요합니다.