12345678910111213141516 |
- <?php
- include 'con.php';
- $conn = StartCon();
- $ins = oci_parse($conn, "INSERT INTO DTC_ARTICLE VALUES ('FI9457','','Gehäusedeckel','')");
- oci_execute($ins);
- $sql = 'SELECT * FROM DTC_ARTICLE';
- $stid = oci_parse($conn, $sql);
- oci_execute($stid);
- $nrows = oci_fetch_all($stid, $res);
- echo json_encode($res);
- CloseCon($conn);
- ?>
|