최근게시물에서 금액나오는 부분에 if문을 쓸려고 하는데 정보
최근게시물에서 금액나오는 부분에 if문을 쓸려고 하는데본문
<?
if ($list[$i][wr_price])
echo ".number_format($list[$i][wr_price]).";
else
echo "문의요망";
?>
제머리에선 이정도밖에 ㅡ,.ㅡ
잘아시는분 답변좀
if ($list[$i][wr_price])
echo ".number_format($list[$i][wr_price]).";
else
echo "문의요망";
?>
제머리에선 이정도밖에 ㅡ,.ㅡ
잘아시는분 답변좀
댓글 전체

<?
if ($list[$i][wr_price]){
echo ".number_format($list[$i][wr_price]).";
}else{
echo "문의요망";
}
?>
위에 쓰신 소스가 맞는거 같은데요.. {랑 }만 넣어주면요.
if ($list[$i][wr_price]){
echo ".number_format($list[$i][wr_price]).";
}else{
echo "문의요망";
}
?>
위에 쓰신 소스가 맞는거 같은데요.. {랑 }만 넣어주면요.