테스트 사이트 - 개발 중인 베타 버전입니다

주문서작성 페이지에 it_maker 추가하는 방법 채택완료

rain99 5년 전 조회 1,784

주문서작성 페이지(orderfrom.sub.php)에 it_maker를 추가 하고 싶은데 어떻게 할까요..?

</strong></p>

<p><strong>// $s_cart_id 로 현재 장바구니 자료 쿼리

        $sql = " select a.ct_id,

                        a.it_id,

                        a.it_name,

                        a.ct_price,

                        a.ct_point,

                        a.ct_qty,

                        a.ct_status,

                        a.ct_send_cost,

                        a.it_sc_type,

                        b.ca_id,

                        b.ca_id2,

                        b.ca_id3,

                        b.it_notax

                   from {$g5['g5_shop_cart_table']} a left join {$g5['g5_shop_item_table']} b on ( a.it_id = b.it_id )

                  where a.od_id = '$s_cart_id'

                    and a.ct_select = '1' ";</strong></p>

<p><strong>
 

 

여기에 넣어봤는데 장바구니가 비었습니다. 라는 안내창이 나오는데 어떻게 하나요?ㅜㅜ

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
d
5년 전
        $sql = " select a.ct_id,
                        a.it_id,
                        a.it_name,
                        a.ct_price,
                        a.ct_point,
                        a.ct_qty,
                        a.ct_status,
                        a.ct_send_cost,
                        a.it_sc_type,
                        b.ca_id,
                        b.ca_id2,
                        b.ca_id3,
                        b.it_notax,
                       b.it_maker
                   from {$g5['g5_shop_cart_table']} a left join {$g5['g5_shop_item_table']} b on ( a.it_id = b.it_id )
                  where a.od_id = '$s_cart_id'
                    and a.ct_select = '1' ";
로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

r
rain99
5년 전
답변 감사합니다! 그런데 추가하고 아래 나타내는 부분에 <?php echo $row['it_maker']; ?> 이렇게 작성했는데 확인이 안되서요ㅜㅜ 어떻게 넣으면 될까요?

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인