질문좀 드리겠습니다
본문
영카트 주문서에서요 폼을추가 할려고하는데요
orderform.sub.php
부분에서
<tr>
<th scope="row"><label for="po_3">브랜드<strong class="sound_only"> 필수</strong></label></th>
<td><input type="text" name="po_3" id="po_3" required class="frm_input required" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="po_4">소속부서<strong class="sound_only"> 필수</strong></label></th>
<td><input type="text" name="po_4" id="po_4" required class="frm_input required" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="po_5">직위<strong class="sound_only"> 필수</strong></label></th>
<td><input type="text" name="po_5" id="po_5" required class="frm_input required" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="od_b_hp">전화</label></th>
<td><input type="text" name="od_b_hp" id="od_b_hp" class="frm_input" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="po_6">팩스<strong class="sound_only"> 필수</strong></label></th>
<td><input type="text" name="po_6" id="po_6" required class="frm_input required" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="po_7">홈페이지주소<strong class="sound_only"> 필수</strong></label></th>
<td><input type="text" name="po_7" id="po_7" required class="frm_input required" maxlength="20"></td>
</tr>
이렇게 추가하구요
phpmyadmin 에서
g5_shop_order_address <여기에서요
po_1 ~ po_10 까지 추가를 해줫는데요
주문서 완료누르면 디비에 내용이 안들어가더라구요 ㅠㅠ
또 어디에 뭘 추가해줘야 하나요
답변 3
입력폼 만드셨고..
저장할 공간 db 추가했으면
저장하는 구문( 쿼리문)을 넣으셔야죠..
혹시.. orderformupdate.php 파일에 insert 구문에 항목 추가하셨나요?
g5_shop_order_address
가 아니고
g5_shop_order
에 추가하셔야합니다.
아소스에 오류가있었네요 ㅠ