/home/mjc1/public_html/html/consultationBoardP.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
28
<?
  
include("../manage/category/common.php");
 
  if( isset(
$name) && isset($content)  ){
    
     
$_content       =    addslashes($content);
     
$reg_date       =    date("Y-m-d H:i:s"); 
     
$tel            =    $tel1."-".$tel2."-".$tel3;
     
$hphone         =    $hp1."-".$hp2."-".$hp3;
         
$faxnum         =    $fax1."-".$fax2."-".$fax3;  
     
         
$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','$content', 0,'$reg_date')";
                   
      
mysql_query($insertQry); 

?>

    <script>
     parent.Msg("Á¢¼öµÇ¾ú½À´Ï´Ù. °ßÀû ´ã´çÀÚ°¡ ¿¬¶ô µå¸®°Ú½À´Ï´Ù.");
    </script>  

<? 

  
}
  
?>