[ GNUSHOP ] [영카트] 입금 금액 function
작성일 20-02-21 11:23
페이지 정보
작성자최고관리자 조회 245회 댓글 0건본문
function deposit_amount($id){
$od_receipt_price_t=0;
$sql = "SELECT od_receipt_price FROM g5_shop_order where mb_id='$id'";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$od_receipt_price_t+=$row['od_receipt_price'];
}
return $od_receipt_price_t;
}
입금 금액 구할때 쓰면좋겠다 싶어서 하나 작성해두겠습니다.댓글목록
등록된 댓글이 없습니다.