:히어 닥 나는 다음과 같은 코드를 히어 닥하기 위해 노력하고있어이 PHP-HTML
<?php
//some php
//some more php
if (some condition) {
?>
<label>CMKS1<?php echo $CMKS1_CMKS2_space; ?>CMKS2</label>
<input name="cmks1" type="text" class="base-cls <?php if ($err1) echo "err-cls"; ?>" />
<input name="cmks2" type="text" class="base-cls <?php if ($err2) echo "err-cls"; ?>" />
<?php
}//if
//some final php here
?>
는하지만 라벨 라인의 $CMKS1_CMKS2_space
변수 input name cmks1 and cmks2
에서 2 조건문 경우에 갇혔어요. heredoc 형식이 정상적으로 처리 할 수 있습니까? 난, 2 개 개의 입력 라인의 경우 조건문에 관해서는
<label>CMKS1 $CMKS1_CMKS2_space CMKS2</label>
:
<label>CMKS1$CMKS1_CMKS2_spaceCMKS2</label>
또는 내가 여분의 재량 공간을 시행해야한다 : 예를 들어 히어 닥의 레이블 라인은 다음과 같이 보일 것이다 조차 확인 히어 닥 안쪽이 ...
TIA
왜 heredoc 형태 여야합니까? – jmucchiello