[code]
<?php
$Select = " select sum(po_point) as sum_point, mb_id from g5_point where po_datetime > DATE_ADD(now(),INTERVAl -7 day) group by mb_id order by sum_point desc ";
$Query = sql_query($Select);
while($Row = sql_fetch_array($Query)){
echo $Row['sum_point'].'<br/>';
//print_r($Row['mb_id']);
}
?>
[/code]
<?php
$Select = " select sum(po_point) as sum_point, mb_id from g5_point where po_datetime > DATE_ADD(now(),INTERVAl -7 day) group by mb_id order by sum_point desc ";
$Query = sql_query($Select);
while($Row = sql_fetch_array($Query)){
echo $Row['sum_point'].'<br/>';
//print_r($Row['mb_id']);
}
?>
[/code]
게시글 목록
| 번호 | 제목 |
|---|---|
| 34021 | |
| 33994 | |
| 33922 | |
| 33895 | |
| 33889 | |
| 33882 | |
| 33868 |
최신글
최신글 함수 개량
11
|
| 33863 | |
| 33859 | |
| 33857 | |
| 33849 | |
| 33842 | |
| 33835 | |
| 33830 | |
| 33828 | |
| 33807 | |
| 33797 | |
| 33796 | |
| 33791 | |
| 33786 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기