Files
kfz-php-tool/db/del_aufträge.php
2025-08-02 13:10:21 +02:00

21 lines
254 B
PHP

<?php
include_once '../config/config.php';
$errors = [];
$data = [];
//$id = $_POST['id'];
$sql = "DELETE FROM aufträge WHERE id=".$_POST['id']."";
$db->query($sql);
$data['success'] = true;
echo json_encode($data);
//echo json_encode($data);