/home/mjc1/public_html/manage/certiManageProcess.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
29
30
31
32
33
34
35
36
37
<?
   
include("./category/common.php");

   
$reg_date  =  date('Y-m-d'  Time() );

 if(
$mode == "update"  && $idx !== ""){
  
  
$updateQry  =  " UPDATE certinumManage SET certi_num = '$upCode', rent_num = '$upCode2', ver = '$upCode3', reg_date = '$reg_date' WHERE idx = '$idx' ";
                   
MYSQL_QUERY($updateQry);

?>
<script>
 parent.msgAlert('1','Á¤»óÀûÀ¸·Î ÀԷµǾú½À´Ï´Ù.');
</script>
<?
  
}
  
  if( isset(
$all) ){ 
  
    for (
$i 0$i count$certiForm ); $i++) { 
      
       
$k        =   $certiForm[$i];
       
$_certi   =   ${"certi_num".$k};
       
$_rent    =   ${"rent_num".$k};
       
$_ver     =   ${"ver_num".$k};
  
      
$allEdit   =  " update certinumManage SET certi_num = '$_certi', rent_num = '$_rent', ver = '$_ver', reg_date = '$reg_date' WHERE  idx = '$k' ";  
                      
MYSQL_QUERY($allEdit);
                                
    } 
?>
<script>
      location.href =  "certiManage.php" ;
</script>
<?    
  
}
?>