first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$conn = new mysqli("localhost", "root", "", "gis_project");
|
||||
|
||||
$id = $_POST['id'];
|
||||
|
||||
if ($id) {
|
||||
$stmt = $conn->prepare("DELETE FROM worship_places WHERE id = ?");
|
||||
$stmt->bind_param("i", $id);
|
||||
if ($stmt->execute()) {
|
||||
echo "Deleted";
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user