/home/mjc1/public_html/order/order_save.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?
$doc_name 
"order_save";
require_once 
"../inc/config.php";

$reg_date time();
$DB_CLASS=new DB_CLASS();




$order_field = array("w_large","w_name","re_subject","re_name","re_post","re_tel","re_hp","re_memo","re_process","re_address","reg_date","add1_wname","add2_wname","add3_wname","item_1_ea","item_2_ea","item_3_ea","item_0_ea");
$order_field_value = array("$w_large","$w_name","$subject","$name","$re_post","$re_tel","$re_hp","$content","n","$address","$reg_date","$add1_wname","$add2_wname","$add3_wname","$item_1_ea","$item_2_ea","$item_3_ea","$item_0_ea");
 
 
 
$result $DB_CLASS -> insert_info($table,$order_field,$order_field_value);

if(
$result){
    
    echo(
"
        <script> alert('¼º°øÀûÀ¸·Î Ã³¸® µÇ¾ú½À´Ï´Ù. ');</script>
    "
);
    echo (
"<meta http-equiv='refresh' content='0; url=../index.html'>");
    
}


?>