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
28
29
30
31
32
33
34
35
|
<? include_once("./_common.php"); include("./include/common.php"); if( isset($name) && isset($content1) ){ $_content = addslashes($content1); $reg_date = date("Y-m-d H:i:s"); $tel = $tel1."-".$tel2."-".$tel3; $hphone = $hp1."-".$hp2."-".$hp3; $faxnum = $fax1."-".$fax2."-".$fax3; if(!isset($respon)) $respon = ""; if(!isset($estidate)) $estidate = ""; if(!isset($productname)) $productname = ""; if(!isset($addproduct)) $addproduct = ""; $insertQry = " insert into mBoard_consult (company, name, respon, tel, hp, fax, email, hope_date, address, product, add_product, detail, gubun, reg_date) values ('{$subject}','{$name}','{$respon}','{$tel}','{$hphone}','{$faxnum}','{$txtemail}','{$estidate}','{$addres}','{$productname}','{$addproduct}','{$content1}', 0,'{$reg_date}')"; mysql_query($insertQry);
?>
<script> location.href = "customerprice.php"; alert("Á¢¼öµÇ¾ú½À´Ï´Ù. °ßÀû ´ã´çÀÚ°¡ ¿¬¶ô µå¸®°Ú½À´Ï´Ù."); </script>
<?
} ?>
|