[code]
<?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++;
}
?>
[/code]
이게 출력 부분인데요.... $row[Money] 쪽을 천단위가 넘으면 콤마를 찍게 하고 싶은데
천단위마다 콤마를 찍으려면 어떻게 해야되나요?
<?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++;
}
?>
[/code]
이게 출력 부분인데요.... $row[Money] 쪽을 천단위가 넘으면 콤마를 찍게 하고 싶은데
천단위마다 콤마를 찍으려면 어떻게 해야되나요?
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기