123456789101112131415 |
- <?php
- include 'con.php';
- //error handling
- ini_set('display_errors', 1);
- error_reporting(E_ALL);
- $curr_time = date("d.m.Y h:i:s");
- $sql = "INSERT INTO DTC_TOOL_LC_EVENT (TLC_EVENT_ID,DATE_TIME,TOOL_ID,ACTION_ID,ARTICLE_ID,WORKER_ID,PRODUCTION_ORDER_ID,MACHINE_ID) VALUES (LCSEQ.NEXTVAL,TO_TIMESTAMP('{$curr_time}','DD.MM.YYYY HH:MI:SS'),'{$_POST['toolID']}','{$_POST['actionID']}','{$_POST['articleID']}','{$_POST['workerID']}','{$_POST['orderID']}','{$_POST['machineID']}')";
- $res = sqlStm($sql);
- ?>
|