괄호 변경~ 요것좀 봐주세용^^:;; 정보
괄호 변경~ 요것좀 봐주세용^^:;;본문
<? if ($list[$i][wr_17]) {
echo "<font color='#999999'>-</font> <?date('m월 d일', strtotime{$list[$i][wr_17]})?> ";
}else{
echo""; }
?>
요 위에 <?date('m월 d일', strtotime{$list[$i][wr_17]})?>중에서 어디를 수정해야 제대로 나올까용^^;;;
괄호를 어떻게 바꿔야하는지 몰라서..ㅠ
제가 아주 초보라^^:;
도와주세용..ㅠ
echo "<font color='#999999'>-</font> <?date('m월 d일', strtotime{$list[$i][wr_17]})?> ";
}else{
echo""; }
?>
요 위에 <?date('m월 d일', strtotime{$list[$i][wr_17]})?>중에서 어디를 수정해야 제대로 나올까용^^;;;
괄호를 어떻게 바꿔야하는지 몰라서..ㅠ
제가 아주 초보라^^:;
도와주세용..ㅠ
댓글 전체
괄호 를 바꾸신다는건 무슨 말씀이시나요?
못알아 듣겟습니다.
못알아 듣겟습니다.
<? if ($list[$i][wr_17]) {
echo "<font color='#999999'>-</font> <?date('m월 d일', strtotime{$list[$i][wr_17]})?> ";
}else{
echo""; }
?>
에서
<?date('m월 d일', strtotime{$list[$i][wr_17]})?>부분 <? ?> 또 들어가면 에러 납니다 ' ' ;;;
<? if ($list[$i][wr_17]) {
echo "<font color='#999999'>-</font> date('m월 d일', strtotime{$list[$i][wr_17]}) ";
}else{
echo""; }
?>
이거 말하는건가요?
질문을 확실히 올려주세요 ' ' ;;;
echo "<font color='#999999'>-</font> <?date('m월 d일', strtotime{$list[$i][wr_17]})?> ";
}else{
echo""; }
?>
에서
<?date('m월 d일', strtotime{$list[$i][wr_17]})?>부분 <? ?> 또 들어가면 에러 납니다 ' ' ;;;
<? if ($list[$i][wr_17]) {
echo "<font color='#999999'>-</font> date('m월 d일', strtotime{$list[$i][wr_17]}) ";
}else{
echo""; }
?>
이거 말하는건가요?
질문을 확실히 올려주세요 ' ' ;;;
질문이 이상했군요~ 죄송^^;;
<?=date('m월 d일', strtotime{$list[$i][wr_17]})?>
에서 <?= 이런것들를 어떻게 바꿔야 제대로 출력되는지 몰라서요^^;;
전체적으로 어떻게 바꿔야 정상적으로 출력되는지..^^
<?=date('m월 d일', strtotime{$list[$i][wr_17]})?>
에서 <?= 이런것들를 어떻게 바꿔야 제대로 출력되는지 몰라서요^^;;
전체적으로 어떻게 바꿔야 정상적으로 출력되는지..^^
<? if ($list[$i][wr_17]) {
echo "<font color='#999999'>-</font> ".date('m월 d일', strtotime($list[$i][wr_17]))." ";
}else{
echo "";
} ?>
위 코드 붙여넣고 실행해 보세요!
덧,
<? ?> <- 이곳에 중복해서 "<?" 이부호가 들어가면 안되며,
strtotime 함수 또한 strtotime() 이러한 형태로 써야 합니다.
echo "<font color='#999999'>-</font> ".date('m월 d일', strtotime($list[$i][wr_17]))." ";
}else{
echo "";
} ?>
위 코드 붙여넣고 실행해 보세요!
덧,
<? ?> <- 이곳에 중복해서 "<?" 이부호가 들어가면 안되며,
strtotime 함수 또한 strtotime() 이러한 형태로 써야 합니다.
와우~ 정말 감사합니다^^