if문내에 html을 넣는방법좀 부탁드립니다......

if문내에 html을 넣는방법좀 부탁드립니다......

QA

if문내에 html을 넣는방법좀 부탁드립니다......

답변 1

본문

</strong>과 <p>사이에 아래 문장을 넣어야하는데 어떠케넣어야하는지......

고수분들 부탁좀 드리겠습니다~~~

감싸는게 틀렸는지..........에러가나서.........ㅠ.ㅠ

<img src='<?php echo G5_PLUGIN_URL; ?>/geoip_country/img/flags/<?php echo geoip_country_code_by_addr($gi,$list[$i]['wr_ip'])?>.png' width='18' height='12'>


if ($list[$i]['is_notice'])
                echo "<strong>".$list[$i]['subject']."</strong><p>".$content;
              
            else
                echo "<strong>".$list[$i]['subject']."</strong><p>".$content;

이 질문에 댓글 쓰기 :

답변 1

echo "<strong>".$list[$i]['subject']."</strong><img src='".G5_PLUGIN_URL."/geoip_country/img/flags/".geoip_country_code_by_addr($gi,$list[$i]['wr_ip']).".png' width='18' height='12'><p>".$content;

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 147
© SIRSOFT
현재 페이지 제일 처음으로