Lekcja 2 do dokończenia

This commit is contained in:
Adam Łukasik committed 2026-09-21 12:42:40 +02:00
1 parent 90de07cc43
commit 6a225cb60c
16 files changed
+307

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<?php
print_r($_GET);
include("config.php");
$conn = mysqli_connect($host, $user, $pass, $dbnm);
$stmt = $conn->prepare("DELETE FROM main WHERE id=?");
$stmt->bind_param("i", intval($_GET["id"]));
$stmt->execute();
mysqli_close($conn);
header("Location: ./");
exit();
?>