<?php
  $BILL_NO = $_GET['BILL_NO'];
  $ACT_USDATE = date('Y-m-d');
  include '_connect.php';
  // $sql = "UPDATE CONFIG.dbo.ACT_EXPOST SET
  // ACT_STATUS = 'Y',
  // ACT_USDATE = '$ACT_USDATE'
  // WHERE BILL_NO = '$BILL_NO' ";
  // // $query = $conn->query($sql);
  // echo $sql;
  $strSQL = "INSERT INTO CONFIG.dbo.ACT_STATUSEXPOST";
  $strSQL .="(BILL_NO,ACT_STATUS,ACT_USDATE) ";
  $strSQL .="VALUES ";
  $strSQL .="('$BILL_NO','Y','$ACT_USDATE')";
  $result = $conn->query($strSQL);
?>
