12345678910111213141516 |
- <?php
- include 'con.php';
- ini_set('display_errors', 1);
- error_reporting(E_ALL);
- $sql = "SELECT NAME_DE FROM DTC_ACTION";
- $actionList = json_encode(sqlStm($sql)["NAME_DE"]);
- $sqlAc = "SELECT NAME_DE FROM DTC_TOOLPART";
- $toolPart = json_encode(sqlStm($sqlAc)["NAME_DE"]);
- header('Content-Type:application/json');
- echo json_encode( array("actionList" => $actionList,"toolPart"=> $toolPart));
- ?>
|