get_parameters.php 335 B

123456789101112131415
  1. <?php
  2. include 'con.php';
  3. ini_set('display_errors', 1);
  4. error_reporting(E_ALL);
  5. $toolID = $_POST["toolID"];
  6. $sql = "SELECT * FROM DTC_SETTING_SHEET WHERE TOOL_ID = '{$toolID}'";
  7. $res = sqlStm($sql);
  8. $params = json_encode($res);
  9. //to Centurio
  10. header('Content-Type:application/json');
  11. echo json_encode( array("params" => $params));
  12. ?>