You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
246 B

<?php
include_once('./databaseOperations.php');
//TODO: check if user has the right to delete the event
if(isset($_GET['id']) && is_numeric($_GET['id']))
{
$db = connect();
deleteEvent($db, $_GET['id']);
header('Location:./');
}
?>