디비저장은 테스트가 깨집니다.
고수닙들 가이드 부탁드립니다.
MYSQLDB에는 다음과 같이 저장이 되어집니다.
10 �� 釉 698,500 19,403 338,500
------------------------------------------------------
작성폼 헤더 부분입니다.
------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0074)http://www.wibroevent.co.kr/partner/event/event_join.php -->
<HTML xml:lang="ko" xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE></TITLE>
<!--<META content="text/html; charset=utf-8" http-equiv=Content-Type>-->
<META name=description content="">
<META name=Keywords content="">
<META content=no http-equiv=imagetoolbar>
<META content=no-cache http-equiv=Pragma>
<META content=no-cache http-equiv=Cache-Control>
<LINK href="gls_lib_basic.css" rel=stylesheet>
</STYLE>
<SCRIPT language=javascript type=text/javascript charset=utf-8
src="gls_lib_basic.js"></SCRIPT>
<!-- <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu="return false" onselectstart="return false" ondragstart="return false">scroll="no" -->
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
------------------------------------------------------
디비 저장폼입니다.
------------------------------------------------------
<?
include("../conf/dbcon.php");
$today = date("Y-m-d h:m:s");
mysql_query("insert into order_db values('', '$ord_model', '$ord_modelColors', '$ord_model_price', '$ord_model_mprice', '$ord_moneyRule_discount010', '$ord_moneyRule_discount', '$ord_moneyRule_mdiscount', '$ord_moneyRule_mdiscountAdded', '$ord_total_pay', '$ord_total_mpay', '$ord_contract', '$ord_moneyRule', '$ord_name', '$ord_socialNoA', '$ord_socialNoB', '$ord_hp1', '$ord_hp2', '$ord_hp3', '$ord_ph1', '$ord_ph2', '$ord_ph3', '$ord_email', '$dzip1', '$dzip2', '$daddr', '$daddr_add', '$ord_bank', '$ord_account', '$ord_accountOwner', '$ord_accountSocialNoA', '$ord_accountSocialNoB', '$ord_bank_card', '$ord_account_card', '$card_date', '$ord_accountOwner_card', '$ord_accountSocialNoA_card', '$ord_accountSocialNoB_card', '$ord_content', '$code')",$DB_CONNECT);
?>
전체소스 http://wibromeca.com/order.zip |