- <?php
- include 'con.php';
- //error handling
- ini_set('display_errors', 1);
- error_reporting(E_ALL);
- $toolID = $_POST['toolID'];
- $currLoc = $_POST['currLoc'];
- $sql = "UPDATE DTC_TOOL SET CURRENT_LOCATION = '{$currLoc}' WHERE TOOL_ID = '{$toolID}'";
- $res = sqlStm($sql);
- ?>
|