답변 2개
채택된 답변
+20 포인트
6년 전
</p>
<p><code>$sql_today</code> <code>=" select * from {$g5['g5_shop_order_table']} where date_format(DATE_ADD(od_time, INTERVAL -1 DAY), '%Y-%m-%d') = '"</code> <code>. G5_TIME_YMD . </code><code>"' and od_status <> '취소' "</code><code>;</code></p>
<p>
</p>
<p><code>$sql_today</code> <code>=" select * from {$g5['g5_shop_order_table']} where </code>date_format(od_time, '%Y-%m-%d') =<code> '"</code> <code>. date('Y-m-d',strtotime(G5_TIME_YMD.' -1 day')). "' and od_status <> '취소' "</code><code>;</code></p>
<p>
둘중하나로 하시면 됩니다. mysql에서 계산하거나 php에서 계산하거나.테스트는 안해봤습니다.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
6년 전
너무 감사드립니다. .. 오늘부터 쭉 행복한 일들만 가득 하실거에요.. 정말 진심으로 감사드립니다.. ...
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
채택
답변대기
답변대기
답변대기
답변대기
채택
채택
답변대기
답변대기
답변대기
채택