천단위 콤마 찍는 방법이 어떻게 되나요 ㅠㅠ 정보
천단위 콤마 찍는 방법이 어떻게 되나요 ㅠㅠ
본문
<?php
~~~ 생략
echo "<tr align='center'>
<td>
<font size='2'>
<font color='lightblue'>$order</font>
</font>
</td>
<td>
<font size='2'>
<font color='lightblue'>$row[Name]</font>
</font>
</td>
<td>
<font size='2'>
<font color='lightblue'>$row[Money]</font>
</font>
</td>
</tr>
";
$order++;
}
?>
이게 출력 부분인데요.... $row[Money] 쪽을 천단위가 넘으면 콤마를 찍게 하고 싶은데
천단위마다 콤마를 찍으려면 어떻게 해야되나요?
댓글 전체
<font color='lightblue'>".number_format($row[Money])."</font>
헉........ 이렇게 간단했다니 정말 감사합니다!